{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "\n",
    "df = pd.read_csv('surveydata/survey_results_public.csv', index_col = \"Respondent\")\n",
    "s_df = pd.read_csv('surveydata/survey_results_schema.csv', index_col = \"Column\")\n",
    "\n",
    "pd.set_option('display.max_columns', 61)\n",
    "pd.set_option('display.max_rows', 61)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>MainBranch</th>\n",
       "      <th>Hobbyist</th>\n",
       "      <th>Age</th>\n",
       "      <th>Age1stCode</th>\n",
       "      <th>CompFreq</th>\n",
       "      <th>CompTotal</th>\n",
       "      <th>ConvertedComp</th>\n",
       "      <th>Country</th>\n",
       "      <th>CurrencyDesc</th>\n",
       "      <th>CurrencySymbol</th>\n",
       "      <th>DatabaseDesireNextYear</th>\n",
       "      <th>DatabaseWorkedWith</th>\n",
       "      <th>DevType</th>\n",
       "      <th>EdLevel</th>\n",
       "      <th>Employment</th>\n",
       "      <th>Ethnicity</th>\n",
       "      <th>Gender</th>\n",
       "      <th>JobFactors</th>\n",
       "      <th>JobSat</th>\n",
       "      <th>JobSeek</th>\n",
       "      <th>LanguageDesireNextYear</th>\n",
       "      <th>LanguageWorkedWith</th>\n",
       "      <th>MiscTechDesireNextYear</th>\n",
       "      <th>MiscTechWorkedWith</th>\n",
       "      <th>NEWCollabToolsDesireNextYear</th>\n",
       "      <th>NEWCollabToolsWorkedWith</th>\n",
       "      <th>NEWDevOps</th>\n",
       "      <th>NEWDevOpsImpt</th>\n",
       "      <th>NEWEdImpt</th>\n",
       "      <th>NEWJobHunt</th>\n",
       "      <th>NEWJobHuntResearch</th>\n",
       "      <th>NEWLearn</th>\n",
       "      <th>NEWOffTopic</th>\n",
       "      <th>NEWOnboardGood</th>\n",
       "      <th>NEWOtherComms</th>\n",
       "      <th>NEWOvertime</th>\n",
       "      <th>NEWPurchaseResearch</th>\n",
       "      <th>NEWPurpleLink</th>\n",
       "      <th>NEWSOSites</th>\n",
       "      <th>NEWStuck</th>\n",
       "      <th>OpSys</th>\n",
       "      <th>OrgSize</th>\n",
       "      <th>PlatformDesireNextYear</th>\n",
       "      <th>PlatformWorkedWith</th>\n",
       "      <th>PurchaseWhat</th>\n",
       "      <th>Sexuality</th>\n",
       "      <th>SOAccount</th>\n",
       "      <th>SOComm</th>\n",
       "      <th>SOPartFreq</th>\n",
       "      <th>SOVisitFreq</th>\n",
       "      <th>SurveyEase</th>\n",
       "      <th>SurveyLength</th>\n",
       "      <th>Trans</th>\n",
       "      <th>UndergradMajor</th>\n",
       "      <th>WebframeDesireNextYear</th>\n",
       "      <th>WebframeWorkedWith</th>\n",
       "      <th>WelcomeChange</th>\n",
       "      <th>WorkWeekHrs</th>\n",
       "      <th>YearsCode</th>\n",
       "      <th>YearsCodePro</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Respondent</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>I am a developer by profession</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>13</td>\n",
       "      <td>Monthly</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Germany</td>\n",
       "      <td>European Euro</td>\n",
       "      <td>EUR</td>\n",
       "      <td>Microsoft SQL Server</td>\n",
       "      <td>Elasticsearch;Microsoft SQL Server;Oracle</td>\n",
       "      <td>Developer, desktop or enterprise applications;...</td>\n",
       "      <td>Master’s degree (M.A., M.S., M.Eng., MBA, etc.)</td>\n",
       "      <td>Independent contractor, freelancer, or self-em...</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>Man</td>\n",
       "      <td>Languages, frameworks, and other technologies ...</td>\n",
       "      <td>Slightly satisfied</td>\n",
       "      <td>I am not interested in new job opportunities</td>\n",
       "      <td>C#;HTML/CSS;JavaScript</td>\n",
       "      <td>C#;HTML/CSS;JavaScript</td>\n",
       "      <td>.NET Core;Xamarin</td>\n",
       "      <td>.NET;.NET Core</td>\n",
       "      <td>Microsoft Teams;Microsoft Azure;Trello</td>\n",
       "      <td>Confluence;Jira;Slack;Microsoft Azure;Trello</td>\n",
       "      <td>No</td>\n",
       "      <td>Somewhat important</td>\n",
       "      <td>Fairly important</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Once a year</td>\n",
       "      <td>Not sure</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "      <td>Often: 1-2 days per week or more</td>\n",
       "      <td>Start a free trial;Ask developers I know/work ...</td>\n",
       "      <td>Amused</td>\n",
       "      <td>Stack Overflow (public Q&amp;A for anyone who codes)</td>\n",
       "      <td>Visit Stack Overflow;Go for a walk or other ph...</td>\n",
       "      <td>Windows</td>\n",
       "      <td>2 to 9 employees</td>\n",
       "      <td>Android;iOS;Kubernetes;Microsoft Azure;Windows</td>\n",
       "      <td>Windows</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Straight / Heterosexual</td>\n",
       "      <td>No</td>\n",
       "      <td>No, not at all</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Multiple times per day</td>\n",
       "      <td>Neither easy nor difficult</td>\n",
       "      <td>Appropriate in length</td>\n",
       "      <td>No</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>ASP.NET Core</td>\n",
       "      <td>ASP.NET;ASP.NET Core</td>\n",
       "      <td>Just as welcome now as I felt last year</td>\n",
       "      <td>50.0</td>\n",
       "      <td>36</td>\n",
       "      <td>27</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>I am a developer by profession</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>19</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>United Kingdom</td>\n",
       "      <td>Pound sterling</td>\n",
       "      <td>GBP</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Developer, full-stack;Developer, mobile</td>\n",
       "      <td>Bachelor’s degree (B.A., B.S., B.Eng., etc.)</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Very dissatisfied</td>\n",
       "      <td>I am not interested in new job opportunities</td>\n",
       "      <td>Python;Swift</td>\n",
       "      <td>JavaScript;Swift</td>\n",
       "      <td>React Native;TensorFlow;Unity 3D</td>\n",
       "      <td>React Native</td>\n",
       "      <td>Github;Slack</td>\n",
       "      <td>Confluence;Jira;Github;Gitlab;Slack</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Fairly important</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Once a year</td>\n",
       "      <td>Not sure</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Amused</td>\n",
       "      <td>Stack Overflow (public Q&amp;A for anyone who code...</td>\n",
       "      <td>Visit Stack Overflow;Go for a walk or other ph...</td>\n",
       "      <td>MacOS</td>\n",
       "      <td>1,000 to 4,999 employees</td>\n",
       "      <td>iOS;Kubernetes;Linux;MacOS</td>\n",
       "      <td>iOS</td>\n",
       "      <td>I have little or no influence</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes, definitely</td>\n",
       "      <td>Less than once per month or monthly</td>\n",
       "      <td>Multiple times per day</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Somewhat more welcome now than last year</td>\n",
       "      <td>NaN</td>\n",
       "      <td>7</td>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>I code primarily as a hobby</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>15</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Russian Federation</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Objective-C;Python;Swift</td>\n",
       "      <td>Objective-C;Python;Swift</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Once a decade</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Stack Overflow (public Q&amp;A for anyone who codes)</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Linux-based</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes, somewhat</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>Daily or almost daily</td>\n",
       "      <td>Neither easy nor difficult</td>\n",
       "      <td>Appropriate in length</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Somewhat more welcome now than last year</td>\n",
       "      <td>NaN</td>\n",
       "      <td>4</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>I am a developer by profession</td>\n",
       "      <td>Yes</td>\n",
       "      <td>25.0</td>\n",
       "      <td>18</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Albania</td>\n",
       "      <td>Albanian lek</td>\n",
       "      <td>ALL</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Master’s degree (M.A., M.S., M.Eng., MBA, etc.)</td>\n",
       "      <td>NaN</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>Man</td>\n",
       "      <td>Flex time or a flexible schedule;Office enviro...</td>\n",
       "      <td>Slightly dissatisfied</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Not at all important/not necessary</td>\n",
       "      <td>Curious about other opportunities;Wanting to w...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Once a year</td>\n",
       "      <td>Not sure</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Occasionally: 1-2 days per quarter but less th...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Stack Overflow (public Q&amp;A for anyone who code...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Linux-based</td>\n",
       "      <td>20 to 99 employees</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I have a great deal of influence</td>\n",
       "      <td>Straight / Heterosexual</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes, definitely</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>Multiple times per day</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Somewhat less welcome now than last year</td>\n",
       "      <td>40.0</td>\n",
       "      <td>7</td>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>I used to be a developer by profession, but no...</td>\n",
       "      <td>Yes</td>\n",
       "      <td>31.0</td>\n",
       "      <td>16</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>United States</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>MySQL;PostgreSQL</td>\n",
       "      <td>MySQL;PostgreSQL;Redis;SQLite</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Bachelor’s degree (B.A., B.S., B.Eng., etc.)</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>Man</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Java;Ruby;Scala</td>\n",
       "      <td>HTML/CSS;Ruby;SQL</td>\n",
       "      <td>Ansible;Chef</td>\n",
       "      <td>Ansible</td>\n",
       "      <td>Github;Google Suite (Docs, Meet, etc)</td>\n",
       "      <td>Confluence;Jira;Github;Slack;Google Suite (Doc...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Very important</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Once a year</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Start a free trial;Ask developers I know/work ...</td>\n",
       "      <td>Hello, old friend</td>\n",
       "      <td>Stack Overflow (public Q&amp;A for anyone who code...</td>\n",
       "      <td>Call a coworker or friend;Visit Stack Overflow...</td>\n",
       "      <td>Windows</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Docker;Google Cloud Platform;Heroku;Linux;Windows</td>\n",
       "      <td>AWS;Docker;Linux;MacOS;Windows</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Straight / Heterosexual</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes, somewhat</td>\n",
       "      <td>Less than once per month or monthly</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>Easy</td>\n",
       "      <td>Too short</td>\n",
       "      <td>No</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>Django;Ruby on Rails</td>\n",
       "      <td>Ruby on Rails</td>\n",
       "      <td>Just as welcome now as I felt last year</td>\n",
       "      <td>NaN</td>\n",
       "      <td>15</td>\n",
       "      <td>8</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>64858</th>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>16</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>United States</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Senior executive/VP</td>\n",
       "      <td>Master’s degree (M.A., M.S., M.Eng., MBA, etc.)</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Very important</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Once a decade</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Start a free trial</td>\n",
       "      <td>Amused</td>\n",
       "      <td>Stack Overflow (public Q&amp;A for anyone who codes)</td>\n",
       "      <td>Call a coworker or friend</td>\n",
       "      <td>Windows</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10</td>\n",
       "      <td>Less than 1 year</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>64867</th>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Morocco</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Cassandra;Couchbase;DynamoDB;Elasticsearch;Fir...</td>\n",
       "      <td>Cassandra;Couchbase;DynamoDB;Elasticsearch;Fir...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Assembly;Bash/Shell/PowerShell;C;C#;C++;Dart;G...</td>\n",
       "      <td>Assembly;Bash/Shell/PowerShell;C;C#;C++;Dart;G...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>64898</th>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Viet Nam</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Primary/elementary school</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>64925</th>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Poland</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>DynamoDB;Elasticsearch;MongoDB;MySQL;PostgreSQL</td>\n",
       "      <td>Oracle</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>HTML/CSS;Java;JavaScript</td>\n",
       "      <td>HTML/CSS</td>\n",
       "      <td>Node.js</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Github;Gitlab</td>\n",
       "      <td>Confluence;Jira;Slack;Microsoft Teams</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Once a year</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Start a free trial</td>\n",
       "      <td>Hello, old friend</td>\n",
       "      <td>Stack Overflow (public Q&amp;A for anyone who codes)</td>\n",
       "      <td>Call a coworker or friend;Visit Stack Overflow</td>\n",
       "      <td>Windows</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Linux;Windows</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Angular;Angular.js;React.js</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>65112</th>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Spain</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>MariaDB;Microsoft SQL Server</td>\n",
       "      <td>MariaDB;Microsoft SQL Server;MySQL;Oracle</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Other doctoral degree (Ph.D., Ed.D., etc.)</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>C#;HTML/CSS;Java;JavaScript;SQL</td>\n",
       "      <td>C#;HTML/CSS;Java;JavaScript;SQL</td>\n",
       "      <td>.NET Core;Xamarin</td>\n",
       "      <td>.NET;.NET Core</td>\n",
       "      <td>Github;Microsoft Teams</td>\n",
       "      <td>Github</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Critically important</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Once a year</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Start a free trial;Ask developers I know/work ...</td>\n",
       "      <td>Indifferent</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Meditate;Visit Stack Overflow;Go for a walk or...</td>\n",
       "      <td>Windows</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Arduino;Linux;Raspberry Pi;Windows</td>\n",
       "      <td>Android;Arduino;Linux;Raspberry Pi;Windows</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>ASP.NET Core;jQuery</td>\n",
       "      <td>Angular;Angular.js;ASP.NET Core;jQuery</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>64461 rows × 60 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                   MainBranch Hobbyist   Age  \\\n",
       "Respondent                                                                     \n",
       "1                              I am a developer by profession      Yes   NaN   \n",
       "2                              I am a developer by profession       No   NaN   \n",
       "3                                 I code primarily as a hobby      Yes   NaN   \n",
       "4                              I am a developer by profession      Yes  25.0   \n",
       "5           I used to be a developer by profession, but no...      Yes  31.0   \n",
       "...                                                       ...      ...   ...   \n",
       "64858                                                     NaN      Yes   NaN   \n",
       "64867                                                     NaN      Yes   NaN   \n",
       "64898                                                     NaN      Yes   NaN   \n",
       "64925                                                     NaN      Yes   NaN   \n",
       "65112                                                     NaN      Yes   NaN   \n",
       "\n",
       "           Age1stCode CompFreq  CompTotal  ConvertedComp             Country  \\\n",
       "Respondent                                                                     \n",
       "1                  13  Monthly        NaN            NaN             Germany   \n",
       "2                  19      NaN        NaN            NaN      United Kingdom   \n",
       "3                  15      NaN        NaN            NaN  Russian Federation   \n",
       "4                  18      NaN        NaN            NaN             Albania   \n",
       "5                  16      NaN        NaN            NaN       United States   \n",
       "...               ...      ...        ...            ...                 ...   \n",
       "64858              16      NaN        NaN            NaN       United States   \n",
       "64867             NaN      NaN        NaN            NaN             Morocco   \n",
       "64898             NaN      NaN        NaN            NaN            Viet Nam   \n",
       "64925             NaN      NaN        NaN            NaN              Poland   \n",
       "65112             NaN      NaN        NaN            NaN               Spain   \n",
       "\n",
       "              CurrencyDesc CurrencySymbol  \\\n",
       "Respondent                                  \n",
       "1            European Euro            EUR   \n",
       "2           Pound sterling            GBP   \n",
       "3                      NaN            NaN   \n",
       "4             Albanian lek            ALL   \n",
       "5                      NaN            NaN   \n",
       "...                    ...            ...   \n",
       "64858                  NaN            NaN   \n",
       "64867                  NaN            NaN   \n",
       "64898                  NaN            NaN   \n",
       "64925                  NaN            NaN   \n",
       "65112                  NaN            NaN   \n",
       "\n",
       "                                       DatabaseDesireNextYear  \\\n",
       "Respondent                                                      \n",
       "1                                        Microsoft SQL Server   \n",
       "2                                                         NaN   \n",
       "3                                                         NaN   \n",
       "4                                                         NaN   \n",
       "5                                            MySQL;PostgreSQL   \n",
       "...                                                       ...   \n",
       "64858                                                     NaN   \n",
       "64867       Cassandra;Couchbase;DynamoDB;Elasticsearch;Fir...   \n",
       "64898                                                     NaN   \n",
       "64925         DynamoDB;Elasticsearch;MongoDB;MySQL;PostgreSQL   \n",
       "65112                            MariaDB;Microsoft SQL Server   \n",
       "\n",
       "                                           DatabaseWorkedWith  \\\n",
       "Respondent                                                      \n",
       "1                   Elasticsearch;Microsoft SQL Server;Oracle   \n",
       "2                                                         NaN   \n",
       "3                                                         NaN   \n",
       "4                                                         NaN   \n",
       "5                               MySQL;PostgreSQL;Redis;SQLite   \n",
       "...                                                       ...   \n",
       "64858                                                     NaN   \n",
       "64867       Cassandra;Couchbase;DynamoDB;Elasticsearch;Fir...   \n",
       "64898                                                     NaN   \n",
       "64925                                                  Oracle   \n",
       "65112               MariaDB;Microsoft SQL Server;MySQL;Oracle   \n",
       "\n",
       "                                                      DevType  \\\n",
       "Respondent                                                      \n",
       "1           Developer, desktop or enterprise applications;...   \n",
       "2                     Developer, full-stack;Developer, mobile   \n",
       "3                                                         NaN   \n",
       "4                                                         NaN   \n",
       "5                                                         NaN   \n",
       "...                                                       ...   \n",
       "64858                                     Senior executive/VP   \n",
       "64867                                                     NaN   \n",
       "64898                                                     NaN   \n",
       "64925                                                     NaN   \n",
       "65112                                                     NaN   \n",
       "\n",
       "                                                    EdLevel  \\\n",
       "Respondent                                                    \n",
       "1           Master’s degree (M.A., M.S., M.Eng., MBA, etc.)   \n",
       "2              Bachelor’s degree (B.A., B.S., B.Eng., etc.)   \n",
       "3                                                       NaN   \n",
       "4           Master’s degree (M.A., M.S., M.Eng., MBA, etc.)   \n",
       "5              Bachelor’s degree (B.A., B.S., B.Eng., etc.)   \n",
       "...                                                     ...   \n",
       "64858       Master’s degree (M.A., M.S., M.Eng., MBA, etc.)   \n",
       "64867                                                   NaN   \n",
       "64898                             Primary/elementary school   \n",
       "64925                                                   NaN   \n",
       "65112            Other doctoral degree (Ph.D., Ed.D., etc.)   \n",
       "\n",
       "                                                   Employment  \\\n",
       "Respondent                                                      \n",
       "1           Independent contractor, freelancer, or self-em...   \n",
       "2                                          Employed full-time   \n",
       "3                                                         NaN   \n",
       "4                                                         NaN   \n",
       "5                                          Employed full-time   \n",
       "...                                                       ...   \n",
       "64858                                      Employed full-time   \n",
       "64867                                      Employed full-time   \n",
       "64898                                                     NaN   \n",
       "64925                                      Employed full-time   \n",
       "65112                                      Employed full-time   \n",
       "\n",
       "                               Ethnicity Gender  \\\n",
       "Respondent                                        \n",
       "1           White or of European descent    Man   \n",
       "2                                    NaN    NaN   \n",
       "3                                    NaN    NaN   \n",
       "4           White or of European descent    Man   \n",
       "5           White or of European descent    Man   \n",
       "...                                  ...    ...   \n",
       "64858                                NaN    NaN   \n",
       "64867                                NaN    NaN   \n",
       "64898                                NaN    NaN   \n",
       "64925                                NaN    NaN   \n",
       "65112                                NaN    NaN   \n",
       "\n",
       "                                                   JobFactors  \\\n",
       "Respondent                                                      \n",
       "1           Languages, frameworks, and other technologies ...   \n",
       "2                                                         NaN   \n",
       "3                                                         NaN   \n",
       "4           Flex time or a flexible schedule;Office enviro...   \n",
       "5                                                         NaN   \n",
       "...                                                       ...   \n",
       "64858                                                     NaN   \n",
       "64867                                                     NaN   \n",
       "64898                                                     NaN   \n",
       "64925                                                     NaN   \n",
       "65112                                                     NaN   \n",
       "\n",
       "                           JobSat  \\\n",
       "Respondent                          \n",
       "1              Slightly satisfied   \n",
       "2               Very dissatisfied   \n",
       "3                             NaN   \n",
       "4           Slightly dissatisfied   \n",
       "5                             NaN   \n",
       "...                           ...   \n",
       "64858                         NaN   \n",
       "64867                         NaN   \n",
       "64898                         NaN   \n",
       "64925                         NaN   \n",
       "65112                         NaN   \n",
       "\n",
       "                                                      JobSeek  \\\n",
       "Respondent                                                      \n",
       "1                I am not interested in new job opportunities   \n",
       "2                I am not interested in new job opportunities   \n",
       "3                                                         NaN   \n",
       "4           I’m not actively looking, but I am open to new...   \n",
       "5                                                         NaN   \n",
       "...                                                       ...   \n",
       "64858                                                     NaN   \n",
       "64867                                                     NaN   \n",
       "64898                                                     NaN   \n",
       "64925                                                     NaN   \n",
       "65112                                                     NaN   \n",
       "\n",
       "                                       LanguageDesireNextYear  \\\n",
       "Respondent                                                      \n",
       "1                                      C#;HTML/CSS;JavaScript   \n",
       "2                                                Python;Swift   \n",
       "3                                    Objective-C;Python;Swift   \n",
       "4                                                         NaN   \n",
       "5                                             Java;Ruby;Scala   \n",
       "...                                                       ...   \n",
       "64858                                                     NaN   \n",
       "64867       Assembly;Bash/Shell/PowerShell;C;C#;C++;Dart;G...   \n",
       "64898                                                     NaN   \n",
       "64925                                HTML/CSS;Java;JavaScript   \n",
       "65112                         C#;HTML/CSS;Java;JavaScript;SQL   \n",
       "\n",
       "                                           LanguageWorkedWith  \\\n",
       "Respondent                                                      \n",
       "1                                      C#;HTML/CSS;JavaScript   \n",
       "2                                            JavaScript;Swift   \n",
       "3                                    Objective-C;Python;Swift   \n",
       "4                                                         NaN   \n",
       "5                                           HTML/CSS;Ruby;SQL   \n",
       "...                                                       ...   \n",
       "64858                                                     NaN   \n",
       "64867       Assembly;Bash/Shell/PowerShell;C;C#;C++;Dart;G...   \n",
       "64898                                                     NaN   \n",
       "64925                                                HTML/CSS   \n",
       "65112                         C#;HTML/CSS;Java;JavaScript;SQL   \n",
       "\n",
       "                      MiscTechDesireNextYear MiscTechWorkedWith  \\\n",
       "Respondent                                                        \n",
       "1                          .NET Core;Xamarin     .NET;.NET Core   \n",
       "2           React Native;TensorFlow;Unity 3D       React Native   \n",
       "3                                        NaN                NaN   \n",
       "4                                        NaN                NaN   \n",
       "5                               Ansible;Chef            Ansible   \n",
       "...                                      ...                ...   \n",
       "64858                                    NaN                NaN   \n",
       "64867                                    NaN                NaN   \n",
       "64898                                    NaN                NaN   \n",
       "64925                                Node.js                NaN   \n",
       "65112                      .NET Core;Xamarin     .NET;.NET Core   \n",
       "\n",
       "                      NEWCollabToolsDesireNextYear  \\\n",
       "Respondent                                           \n",
       "1           Microsoft Teams;Microsoft Azure;Trello   \n",
       "2                                     Github;Slack   \n",
       "3                                              NaN   \n",
       "4                                              NaN   \n",
       "5            Github;Google Suite (Docs, Meet, etc)   \n",
       "...                                            ...   \n",
       "64858                                          NaN   \n",
       "64867                                          NaN   \n",
       "64898                                          NaN   \n",
       "64925                                Github;Gitlab   \n",
       "65112                       Github;Microsoft Teams   \n",
       "\n",
       "                                     NEWCollabToolsWorkedWith NEWDevOps  \\\n",
       "Respondent                                                                \n",
       "1                Confluence;Jira;Slack;Microsoft Azure;Trello        No   \n",
       "2                         Confluence;Jira;Github;Gitlab;Slack       NaN   \n",
       "3                                                         NaN       NaN   \n",
       "4                                                         NaN        No   \n",
       "5           Confluence;Jira;Github;Slack;Google Suite (Doc...       NaN   \n",
       "...                                                       ...       ...   \n",
       "64858                                                     NaN       NaN   \n",
       "64867                                                     NaN       NaN   \n",
       "64898                                                     NaN       NaN   \n",
       "64925                   Confluence;Jira;Slack;Microsoft Teams       NaN   \n",
       "65112                                                  Github       NaN   \n",
       "\n",
       "                 NEWDevOpsImpt                           NEWEdImpt  \\\n",
       "Respondent                                                           \n",
       "1           Somewhat important                    Fairly important   \n",
       "2                          NaN                    Fairly important   \n",
       "3                          NaN                                 NaN   \n",
       "4                          NaN  Not at all important/not necessary   \n",
       "5                          NaN                      Very important   \n",
       "...                        ...                                 ...   \n",
       "64858                      NaN                      Very important   \n",
       "64867                      NaN                                 NaN   \n",
       "64898                      NaN                                 NaN   \n",
       "64925                      NaN                                 NaN   \n",
       "65112                      NaN                Critically important   \n",
       "\n",
       "                                                   NEWJobHunt  \\\n",
       "Respondent                                                      \n",
       "1                                                         NaN   \n",
       "2                                                         NaN   \n",
       "3                                                         NaN   \n",
       "4           Curious about other opportunities;Wanting to w...   \n",
       "5                                                         NaN   \n",
       "...                                                       ...   \n",
       "64858                                                     NaN   \n",
       "64867                                                     NaN   \n",
       "64898                                                     NaN   \n",
       "64925                                                     NaN   \n",
       "65112                                                     NaN   \n",
       "\n",
       "           NEWJobHuntResearch       NEWLearn NEWOffTopic NEWOnboardGood  \\\n",
       "Respondent                                                                \n",
       "1                         NaN    Once a year    Not sure            NaN   \n",
       "2                         NaN    Once a year    Not sure            NaN   \n",
       "3                         NaN  Once a decade         NaN            NaN   \n",
       "4                         NaN    Once a year    Not sure            Yes   \n",
       "5                         NaN    Once a year          No            NaN   \n",
       "...                       ...            ...         ...            ...   \n",
       "64858                     NaN  Once a decade         NaN            NaN   \n",
       "64867                     NaN            NaN         NaN            NaN   \n",
       "64898                     NaN            NaN         NaN            NaN   \n",
       "64925                     NaN    Once a year         NaN            NaN   \n",
       "65112                     NaN    Once a year         NaN            NaN   \n",
       "\n",
       "           NEWOtherComms                                        NEWOvertime  \\\n",
       "Respondent                                                                    \n",
       "1                     No                   Often: 1-2 days per week or more   \n",
       "2                     No                                                NaN   \n",
       "3                     No                                                NaN   \n",
       "4                    Yes  Occasionally: 1-2 days per quarter but less th...   \n",
       "5                    Yes                                                NaN   \n",
       "...                  ...                                                ...   \n",
       "64858                NaN                                                NaN   \n",
       "64867                NaN                                                NaN   \n",
       "64898                NaN                                                NaN   \n",
       "64925                NaN                                                NaN   \n",
       "65112                NaN                                                NaN   \n",
       "\n",
       "                                          NEWPurchaseResearch  \\\n",
       "Respondent                                                      \n",
       "1           Start a free trial;Ask developers I know/work ...   \n",
       "2                                                         NaN   \n",
       "3                                                         NaN   \n",
       "4                                                         NaN   \n",
       "5           Start a free trial;Ask developers I know/work ...   \n",
       "...                                                       ...   \n",
       "64858                                      Start a free trial   \n",
       "64867                                                     NaN   \n",
       "64898                                                     NaN   \n",
       "64925                                      Start a free trial   \n",
       "65112       Start a free trial;Ask developers I know/work ...   \n",
       "\n",
       "                NEWPurpleLink  \\\n",
       "Respondent                      \n",
       "1                      Amused   \n",
       "2                      Amused   \n",
       "3                         NaN   \n",
       "4                         NaN   \n",
       "5           Hello, old friend   \n",
       "...                       ...   \n",
       "64858                  Amused   \n",
       "64867                     NaN   \n",
       "64898                     NaN   \n",
       "64925       Hello, old friend   \n",
       "65112             Indifferent   \n",
       "\n",
       "                                                   NEWSOSites  \\\n",
       "Respondent                                                      \n",
       "1            Stack Overflow (public Q&A for anyone who codes)   \n",
       "2           Stack Overflow (public Q&A for anyone who code...   \n",
       "3            Stack Overflow (public Q&A for anyone who codes)   \n",
       "4           Stack Overflow (public Q&A for anyone who code...   \n",
       "5           Stack Overflow (public Q&A for anyone who code...   \n",
       "...                                                       ...   \n",
       "64858        Stack Overflow (public Q&A for anyone who codes)   \n",
       "64867                                                     NaN   \n",
       "64898                                                     NaN   \n",
       "64925        Stack Overflow (public Q&A for anyone who codes)   \n",
       "65112                                                     NaN   \n",
       "\n",
       "                                                     NEWStuck        OpSys  \\\n",
       "Respondent                                                                   \n",
       "1           Visit Stack Overflow;Go for a walk or other ph...      Windows   \n",
       "2           Visit Stack Overflow;Go for a walk or other ph...        MacOS   \n",
       "3                                                         NaN  Linux-based   \n",
       "4                                                         NaN  Linux-based   \n",
       "5           Call a coworker or friend;Visit Stack Overflow...      Windows   \n",
       "...                                                       ...          ...   \n",
       "64858                               Call a coworker or friend      Windows   \n",
       "64867                                                     NaN          NaN   \n",
       "64898                                                     NaN          NaN   \n",
       "64925          Call a coworker or friend;Visit Stack Overflow      Windows   \n",
       "65112       Meditate;Visit Stack Overflow;Go for a walk or...      Windows   \n",
       "\n",
       "                             OrgSize  \\\n",
       "Respondent                             \n",
       "1                   2 to 9 employees   \n",
       "2           1,000 to 4,999 employees   \n",
       "3                                NaN   \n",
       "4                 20 to 99 employees   \n",
       "5                                NaN   \n",
       "...                              ...   \n",
       "64858                            NaN   \n",
       "64867                            NaN   \n",
       "64898                            NaN   \n",
       "64925                            NaN   \n",
       "65112                            NaN   \n",
       "\n",
       "                                       PlatformDesireNextYear  \\\n",
       "Respondent                                                      \n",
       "1              Android;iOS;Kubernetes;Microsoft Azure;Windows   \n",
       "2                                  iOS;Kubernetes;Linux;MacOS   \n",
       "3                                                         NaN   \n",
       "4                                                         NaN   \n",
       "5           Docker;Google Cloud Platform;Heroku;Linux;Windows   \n",
       "...                                                       ...   \n",
       "64858                                                     NaN   \n",
       "64867                                                     NaN   \n",
       "64898                                                     NaN   \n",
       "64925                                                     NaN   \n",
       "65112                      Arduino;Linux;Raspberry Pi;Windows   \n",
       "\n",
       "                                    PlatformWorkedWith  \\\n",
       "Respondent                                               \n",
       "1                                              Windows   \n",
       "2                                                  iOS   \n",
       "3                                                  NaN   \n",
       "4                                                  NaN   \n",
       "5                       AWS;Docker;Linux;MacOS;Windows   \n",
       "...                                                ...   \n",
       "64858                                              NaN   \n",
       "64867                                              NaN   \n",
       "64898                                              NaN   \n",
       "64925                                    Linux;Windows   \n",
       "65112       Android;Arduino;Linux;Raspberry Pi;Windows   \n",
       "\n",
       "                                PurchaseWhat                Sexuality  \\\n",
       "Respondent                                                              \n",
       "1                                        NaN  Straight / Heterosexual   \n",
       "2              I have little or no influence                      NaN   \n",
       "3                                        NaN                      NaN   \n",
       "4           I have a great deal of influence  Straight / Heterosexual   \n",
       "5                                        NaN  Straight / Heterosexual   \n",
       "...                                      ...                      ...   \n",
       "64858                                    NaN                      NaN   \n",
       "64867                                    NaN                      NaN   \n",
       "64898                                    NaN                      NaN   \n",
       "64925                                    NaN                      NaN   \n",
       "65112                                    NaN                      NaN   \n",
       "\n",
       "           SOAccount           SOComm                           SOPartFreq  \\\n",
       "Respondent                                                                   \n",
       "1                 No   No, not at all                                  NaN   \n",
       "2                Yes  Yes, definitely  Less than once per month or monthly   \n",
       "3                Yes    Yes, somewhat      A few times per month or weekly   \n",
       "4                Yes  Yes, definitely      A few times per month or weekly   \n",
       "5                Yes    Yes, somewhat  Less than once per month or monthly   \n",
       "...              ...              ...                                  ...   \n",
       "64858            NaN              NaN                                  NaN   \n",
       "64867            NaN              NaN                                  NaN   \n",
       "64898            NaN              NaN                                  NaN   \n",
       "64925            NaN              NaN                                  NaN   \n",
       "65112            NaN              NaN                                  NaN   \n",
       "\n",
       "                                SOVisitFreq                  SurveyEase  \\\n",
       "Respondent                                                                \n",
       "1                    Multiple times per day  Neither easy nor difficult   \n",
       "2                    Multiple times per day                         NaN   \n",
       "3                     Daily or almost daily  Neither easy nor difficult   \n",
       "4                    Multiple times per day                         NaN   \n",
       "5           A few times per month or weekly                        Easy   \n",
       "...                                     ...                         ...   \n",
       "64858                                   NaN                         NaN   \n",
       "64867                                   NaN                         NaN   \n",
       "64898                                   NaN                         NaN   \n",
       "64925                                   NaN                         NaN   \n",
       "65112                                   NaN                         NaN   \n",
       "\n",
       "                     SurveyLength Trans  \\\n",
       "Respondent                                \n",
       "1           Appropriate in length    No   \n",
       "2                             NaN   NaN   \n",
       "3           Appropriate in length   NaN   \n",
       "4                             NaN    No   \n",
       "5                       Too short    No   \n",
       "...                           ...   ...   \n",
       "64858                         NaN   NaN   \n",
       "64867                         NaN   NaN   \n",
       "64898                         NaN   NaN   \n",
       "64925                         NaN   NaN   \n",
       "65112                         NaN   NaN   \n",
       "\n",
       "                                               UndergradMajor  \\\n",
       "Respondent                                                      \n",
       "1           Computer science, computer engineering, or sof...   \n",
       "2           Computer science, computer engineering, or sof...   \n",
       "3                                                         NaN   \n",
       "4           Computer science, computer engineering, or sof...   \n",
       "5           Computer science, computer engineering, or sof...   \n",
       "...                                                       ...   \n",
       "64858       Computer science, computer engineering, or sof...   \n",
       "64867                                                     NaN   \n",
       "64898                                                     NaN   \n",
       "64925                                                     NaN   \n",
       "65112       Computer science, computer engineering, or sof...   \n",
       "\n",
       "                 WebframeDesireNextYear  \\\n",
       "Respondent                                \n",
       "1                          ASP.NET Core   \n",
       "2                                   NaN   \n",
       "3                                   NaN   \n",
       "4                                   NaN   \n",
       "5                  Django;Ruby on Rails   \n",
       "...                                 ...   \n",
       "64858                               NaN   \n",
       "64867                               NaN   \n",
       "64898                               NaN   \n",
       "64925       Angular;Angular.js;React.js   \n",
       "65112               ASP.NET Core;jQuery   \n",
       "\n",
       "                                WebframeWorkedWith  \\\n",
       "Respondent                                           \n",
       "1                             ASP.NET;ASP.NET Core   \n",
       "2                                              NaN   \n",
       "3                                              NaN   \n",
       "4                                              NaN   \n",
       "5                                    Ruby on Rails   \n",
       "...                                            ...   \n",
       "64858                                          NaN   \n",
       "64867                                          NaN   \n",
       "64898                                          NaN   \n",
       "64925                                          NaN   \n",
       "65112       Angular;Angular.js;ASP.NET Core;jQuery   \n",
       "\n",
       "                                       WelcomeChange  WorkWeekHrs YearsCode  \\\n",
       "Respondent                                                                    \n",
       "1            Just as welcome now as I felt last year         50.0        36   \n",
       "2           Somewhat more welcome now than last year          NaN         7   \n",
       "3           Somewhat more welcome now than last year          NaN         4   \n",
       "4           Somewhat less welcome now than last year         40.0         7   \n",
       "5            Just as welcome now as I felt last year          NaN        15   \n",
       "...                                              ...          ...       ...   \n",
       "64858                                            NaN          NaN        10   \n",
       "64867                                            NaN          NaN       NaN   \n",
       "64898                                            NaN          NaN       NaN   \n",
       "64925                                            NaN          NaN       NaN   \n",
       "65112                                            NaN          NaN       NaN   \n",
       "\n",
       "                YearsCodePro  \n",
       "Respondent                    \n",
       "1                         27  \n",
       "2                          4  \n",
       "3                        NaN  \n",
       "4                          4  \n",
       "5                          8  \n",
       "...                      ...  \n",
       "64858       Less than 1 year  \n",
       "64867                    NaN  \n",
       "64898                    NaN  \n",
       "64925                    NaN  \n",
       "65112                    NaN  \n",
       "\n",
       "[64461 rows x 60 columns]"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [],
   "source": [
    "df.sort_values(by = \"Country\", ascending = True, inplace = True)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>MainBranch</th>\n",
       "      <th>Hobbyist</th>\n",
       "      <th>Age</th>\n",
       "      <th>Age1stCode</th>\n",
       "      <th>CompFreq</th>\n",
       "      <th>CompTotal</th>\n",
       "      <th>ConvertedComp</th>\n",
       "      <th>Country</th>\n",
       "      <th>CurrencyDesc</th>\n",
       "      <th>CurrencySymbol</th>\n",
       "      <th>DatabaseDesireNextYear</th>\n",
       "      <th>DatabaseWorkedWith</th>\n",
       "      <th>DevType</th>\n",
       "      <th>EdLevel</th>\n",
       "      <th>Employment</th>\n",
       "      <th>Ethnicity</th>\n",
       "      <th>Gender</th>\n",
       "      <th>JobFactors</th>\n",
       "      <th>JobSat</th>\n",
       "      <th>JobSeek</th>\n",
       "      <th>LanguageDesireNextYear</th>\n",
       "      <th>LanguageWorkedWith</th>\n",
       "      <th>MiscTechDesireNextYear</th>\n",
       "      <th>MiscTechWorkedWith</th>\n",
       "      <th>NEWCollabToolsDesireNextYear</th>\n",
       "      <th>NEWCollabToolsWorkedWith</th>\n",
       "      <th>NEWDevOps</th>\n",
       "      <th>NEWDevOpsImpt</th>\n",
       "      <th>NEWEdImpt</th>\n",
       "      <th>NEWJobHunt</th>\n",
       "      <th>NEWJobHuntResearch</th>\n",
       "      <th>NEWLearn</th>\n",
       "      <th>NEWOffTopic</th>\n",
       "      <th>NEWOnboardGood</th>\n",
       "      <th>NEWOtherComms</th>\n",
       "      <th>NEWOvertime</th>\n",
       "      <th>NEWPurchaseResearch</th>\n",
       "      <th>NEWPurpleLink</th>\n",
       "      <th>NEWSOSites</th>\n",
       "      <th>NEWStuck</th>\n",
       "      <th>OpSys</th>\n",
       "      <th>OrgSize</th>\n",
       "      <th>PlatformDesireNextYear</th>\n",
       "      <th>PlatformWorkedWith</th>\n",
       "      <th>PurchaseWhat</th>\n",
       "      <th>Sexuality</th>\n",
       "      <th>SOAccount</th>\n",
       "      <th>SOComm</th>\n",
       "      <th>SOPartFreq</th>\n",
       "      <th>SOVisitFreq</th>\n",
       "      <th>SurveyEase</th>\n",
       "      <th>SurveyLength</th>\n",
       "      <th>Trans</th>\n",
       "      <th>UndergradMajor</th>\n",
       "      <th>WebframeDesireNextYear</th>\n",
       "      <th>WebframeWorkedWith</th>\n",
       "      <th>WelcomeChange</th>\n",
       "      <th>WorkWeekHrs</th>\n",
       "      <th>YearsCode</th>\n",
       "      <th>YearsCodePro</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Respondent</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>8631</th>\n",
       "      <td>I am a student who is learning to code</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>19</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>MongoDB</td>\n",
       "      <td>MySQL</td>\n",
       "      <td>Developer, front-end;Developer, mobile</td>\n",
       "      <td>Some college/university study without earning ...</td>\n",
       "      <td>Not employed, but looking for work</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Man</td>\n",
       "      <td>Languages, frameworks, and other technologies ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>HTML/CSS;Java;JavaScript</td>\n",
       "      <td>HTML/CSS;Java;JavaScript</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Stack Overflow for Teams</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Once a year</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Stack Overflow (public Q&amp;A for anyone who code...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Windows</td>\n",
       "      <td>NaN</td>\n",
       "      <td>iOS</td>\n",
       "      <td>Android</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes, somewhat</td>\n",
       "      <td>Less than once per month or monthly</td>\n",
       "      <td>Daily or almost daily</td>\n",
       "      <td>Neither easy nor difficult</td>\n",
       "      <td>Too long</td>\n",
       "      <td>No</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>Spring</td>\n",
       "      <td>Angular.js</td>\n",
       "      <td>Somewhat more welcome now than last year</td>\n",
       "      <td>NaN</td>\n",
       "      <td>3</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25001</th>\n",
       "      <td>I am a developer by profession</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Younger than 5 years</td>\n",
       "      <td>Weekly</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>United Arab Emirates dirham</td>\n",
       "      <td>AED</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Cassandra</td>\n",
       "      <td>Academic researcher</td>\n",
       "      <td>I never completed any formal education</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>Black or of African descent</td>\n",
       "      <td>Woman</td>\n",
       "      <td>Specific department or team I’d be working on</td>\n",
       "      <td>Very dissatisfied</td>\n",
       "      <td>I am actively looking for a job</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Assembly</td>\n",
       "      <td>NaN</td>\n",
       "      <td>.NET</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Confluence</td>\n",
       "      <td>No</td>\n",
       "      <td>Somewhat important</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Just because</td>\n",
       "      <td>Read company media, such as employee blogs or ...</td>\n",
       "      <td>Every few months</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No</td>\n",
       "      <td>Never</td>\n",
       "      <td>Start a free trial</td>\n",
       "      <td>Amused</td>\n",
       "      <td>Stack Overflow (public Q&amp;A for anyone who codes)</td>\n",
       "      <td>Go for a walk or other physical activity</td>\n",
       "      <td>Linux-based</td>\n",
       "      <td>Just me - I am a freelancer, sole proprietor, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Android</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Bisexual</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No, not at all</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I have never visited Stack Overflow (before to...</td>\n",
       "      <td>Easy</td>\n",
       "      <td>Too short</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Angular</td>\n",
       "      <td>A lot less welcome now than last year</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Less than 1 year</td>\n",
       "      <td>Less than 1 year</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>58171</th>\n",
       "      <td>I am a student who is learning to code</td>\n",
       "      <td>Yes</td>\n",
       "      <td>23.0</td>\n",
       "      <td>18</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Oracle</td>\n",
       "      <td>Microsoft SQL Server;MySQL</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Primary/elementary school</td>\n",
       "      <td>Student</td>\n",
       "      <td>White or of European descent;South Asian</td>\n",
       "      <td>Woman;Man</td>\n",
       "      <td>Languages, frameworks, and other technologies ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Python</td>\n",
       "      <td>C#;Java</td>\n",
       "      <td>.NET</td>\n",
       "      <td>.NET</td>\n",
       "      <td>Github;Gitlab</td>\n",
       "      <td>Github;Gitlab</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Once a year</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Visit developer communities like Stack Overflow</td>\n",
       "      <td>Amused</td>\n",
       "      <td>Stack Overflow (public Q&amp;A for anyone who code...</td>\n",
       "      <td>Visit Stack Overflow</td>\n",
       "      <td>Linux-based</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Android</td>\n",
       "      <td>Windows</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Not sure</td>\n",
       "      <td>I have never participated in Q&amp;A on Stack Over...</td>\n",
       "      <td>A few times per week</td>\n",
       "      <td>Easy</td>\n",
       "      <td>Appropriate in length</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>ASP.NET;Spring</td>\n",
       "      <td>Laravel;Spring</td>\n",
       "      <td>A lot more welcome now than last year</td>\n",
       "      <td>NaN</td>\n",
       "      <td>5</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>42668</th>\n",
       "      <td>I am a developer by profession</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>Afghan afghani</td>\n",
       "      <td>AFN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I never completed any formal education</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>51509</th>\n",
       "      <td>I am a developer by profession</td>\n",
       "      <td>No</td>\n",
       "      <td>28.0</td>\n",
       "      <td>19</td>\n",
       "      <td>Monthly</td>\n",
       "      <td>130000.0</td>\n",
       "      <td>20220.0</td>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>Afghan afghani</td>\n",
       "      <td>AFN</td>\n",
       "      <td>Couchbase;Elasticsearch</td>\n",
       "      <td>MariaDB;MongoDB</td>\n",
       "      <td>Developer, back-end;Developer, front-end;Devel...</td>\n",
       "      <td>Bachelor’s degree (B.A., B.S., B.Eng., etc.)</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>Man</td>\n",
       "      <td>Languages, frameworks, and other technologies ...</td>\n",
       "      <td>Very satisfied</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>HTML/CSS;JavaScript;PHP;TypeScript</td>\n",
       "      <td>Node.js</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Gitlab</td>\n",
       "      <td>Gitlab</td>\n",
       "      <td>Not sure</td>\n",
       "      <td>Somewhat important</td>\n",
       "      <td>Fairly important</td>\n",
       "      <td>Better compensation;Trouble with leadership at...</td>\n",
       "      <td>Read other media like news articles, founder p...</td>\n",
       "      <td>Once every few years</td>\n",
       "      <td>Not sure</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No</td>\n",
       "      <td>Often: 1-2 days per week or more</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Amused</td>\n",
       "      <td>Stack Overflow (public Q&amp;A for anyone who code...</td>\n",
       "      <td>Meditate;Visit Stack Overflow</td>\n",
       "      <td>Windows</td>\n",
       "      <td>1,000 to 4,999 employees</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I have little or no influence</td>\n",
       "      <td>Straight / Heterosexual</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes, definitely</td>\n",
       "      <td>A few times per week</td>\n",
       "      <td>Multiple times per day</td>\n",
       "      <td>Easy</td>\n",
       "      <td>Appropriate in length</td>\n",
       "      <td>No</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>Angular;Express</td>\n",
       "      <td>Angular</td>\n",
       "      <td>Just as welcome now as I felt last year</td>\n",
       "      <td>40.0</td>\n",
       "      <td>8</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>60055</th>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Employed part-time</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>61121</th>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>61570</th>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>61918</th>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>62605</th>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>64461 rows × 60 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                        MainBranch Hobbyist   Age  \\\n",
       "Respondent                                                          \n",
       "8631        I am a student who is learning to code       No   NaN   \n",
       "25001               I am a developer by profession       No   NaN   \n",
       "58171       I am a student who is learning to code      Yes  23.0   \n",
       "42668               I am a developer by profession      Yes   NaN   \n",
       "51509               I am a developer by profession       No  28.0   \n",
       "...                                            ...      ...   ...   \n",
       "60055                                          NaN       No   NaN   \n",
       "61121                                          NaN      Yes   NaN   \n",
       "61570                                          NaN       No   NaN   \n",
       "61918                                          NaN      Yes   NaN   \n",
       "62605                                          NaN       No   NaN   \n",
       "\n",
       "                      Age1stCode CompFreq  CompTotal  ConvertedComp  \\\n",
       "Respondent                                                            \n",
       "8631                          19      NaN        NaN            NaN   \n",
       "25001       Younger than 5 years   Weekly        NaN            NaN   \n",
       "58171                         18      NaN        NaN            NaN   \n",
       "42668                        NaN      NaN        NaN            NaN   \n",
       "51509                         19  Monthly   130000.0        20220.0   \n",
       "...                          ...      ...        ...            ...   \n",
       "60055                        NaN      NaN        NaN            NaN   \n",
       "61121                        NaN      NaN        NaN            NaN   \n",
       "61570                        NaN      NaN        NaN            NaN   \n",
       "61918                        NaN      NaN        NaN            NaN   \n",
       "62605                        NaN      NaN        NaN            NaN   \n",
       "\n",
       "                Country                 CurrencyDesc CurrencySymbol  \\\n",
       "Respondent                                                            \n",
       "8631        Afghanistan                          NaN            NaN   \n",
       "25001       Afghanistan  United Arab Emirates dirham            AED   \n",
       "58171       Afghanistan                          NaN            NaN   \n",
       "42668       Afghanistan               Afghan afghani            AFN   \n",
       "51509       Afghanistan               Afghan afghani            AFN   \n",
       "...                 ...                          ...            ...   \n",
       "60055               NaN                          NaN            NaN   \n",
       "61121               NaN                          NaN            NaN   \n",
       "61570               NaN                          NaN            NaN   \n",
       "61918               NaN                          NaN            NaN   \n",
       "62605               NaN                          NaN            NaN   \n",
       "\n",
       "             DatabaseDesireNextYear          DatabaseWorkedWith  \\\n",
       "Respondent                                                        \n",
       "8631                        MongoDB                       MySQL   \n",
       "25001                           NaN                   Cassandra   \n",
       "58171                        Oracle  Microsoft SQL Server;MySQL   \n",
       "42668                           NaN                         NaN   \n",
       "51509       Couchbase;Elasticsearch             MariaDB;MongoDB   \n",
       "...                             ...                         ...   \n",
       "60055                           NaN                         NaN   \n",
       "61121                           NaN                         NaN   \n",
       "61570                           NaN                         NaN   \n",
       "61918                           NaN                         NaN   \n",
       "62605                           NaN                         NaN   \n",
       "\n",
       "                                                      DevType  \\\n",
       "Respondent                                                      \n",
       "8631                   Developer, front-end;Developer, mobile   \n",
       "25001                                     Academic researcher   \n",
       "58171                                                     NaN   \n",
       "42668                                                     NaN   \n",
       "51509       Developer, back-end;Developer, front-end;Devel...   \n",
       "...                                                       ...   \n",
       "60055                                                     NaN   \n",
       "61121                                                     NaN   \n",
       "61570                                                     NaN   \n",
       "61918                                                     NaN   \n",
       "62605                                                     NaN   \n",
       "\n",
       "                                                      EdLevel  \\\n",
       "Respondent                                                      \n",
       "8631        Some college/university study without earning ...   \n",
       "25001                  I never completed any formal education   \n",
       "58171                               Primary/elementary school   \n",
       "42668                  I never completed any formal education   \n",
       "51509            Bachelor’s degree (B.A., B.S., B.Eng., etc.)   \n",
       "...                                                       ...   \n",
       "60055                                                     NaN   \n",
       "61121                                                     NaN   \n",
       "61570                                                     NaN   \n",
       "61918                                                     NaN   \n",
       "62605                                                     NaN   \n",
       "\n",
       "                                    Employment  \\\n",
       "Respondent                                       \n",
       "8631        Not employed, but looking for work   \n",
       "25001                       Employed full-time   \n",
       "58171                                  Student   \n",
       "42668                                      NaN   \n",
       "51509                       Employed full-time   \n",
       "...                                        ...   \n",
       "60055                       Employed part-time   \n",
       "61121                                      NaN   \n",
       "61570                                      NaN   \n",
       "61918                                      NaN   \n",
       "62605                                      NaN   \n",
       "\n",
       "                                           Ethnicity     Gender  \\\n",
       "Respondent                                                        \n",
       "8631                                             NaN        Man   \n",
       "25001                    Black or of African descent      Woman   \n",
       "58171       White or of European descent;South Asian  Woman;Man   \n",
       "42668                                            NaN        NaN   \n",
       "51509                   White or of European descent        Man   \n",
       "...                                              ...        ...   \n",
       "60055                                            NaN        NaN   \n",
       "61121                                            NaN        NaN   \n",
       "61570                                            NaN        NaN   \n",
       "61918                                            NaN        NaN   \n",
       "62605                                            NaN        NaN   \n",
       "\n",
       "                                                   JobFactors  \\\n",
       "Respondent                                                      \n",
       "8631        Languages, frameworks, and other technologies ...   \n",
       "25001           Specific department or team I’d be working on   \n",
       "58171       Languages, frameworks, and other technologies ...   \n",
       "42668                                                     NaN   \n",
       "51509       Languages, frameworks, and other technologies ...   \n",
       "...                                                       ...   \n",
       "60055                                                     NaN   \n",
       "61121                                                     NaN   \n",
       "61570                                                     NaN   \n",
       "61918                                                     NaN   \n",
       "62605                                                     NaN   \n",
       "\n",
       "                       JobSat  \\\n",
       "Respondent                      \n",
       "8631                      NaN   \n",
       "25001       Very dissatisfied   \n",
       "58171                     NaN   \n",
       "42668                     NaN   \n",
       "51509          Very satisfied   \n",
       "...                       ...   \n",
       "60055                     NaN   \n",
       "61121                     NaN   \n",
       "61570                     NaN   \n",
       "61918                     NaN   \n",
       "62605                     NaN   \n",
       "\n",
       "                                                      JobSeek  \\\n",
       "Respondent                                                      \n",
       "8631        I’m not actively looking, but I am open to new...   \n",
       "25001                         I am actively looking for a job   \n",
       "58171       I’m not actively looking, but I am open to new...   \n",
       "42668                                                     NaN   \n",
       "51509       I’m not actively looking, but I am open to new...   \n",
       "...                                                       ...   \n",
       "60055                                                     NaN   \n",
       "61121                                                     NaN   \n",
       "61570                                                     NaN   \n",
       "61918                                                     NaN   \n",
       "62605                                                     NaN   \n",
       "\n",
       "              LanguageDesireNextYear                  LanguageWorkedWith  \\\n",
       "Respondent                                                                 \n",
       "8631        HTML/CSS;Java;JavaScript            HTML/CSS;Java;JavaScript   \n",
       "25001                            NaN                            Assembly   \n",
       "58171                         Python                             C#;Java   \n",
       "42668                            NaN                                 NaN   \n",
       "51509                            NaN  HTML/CSS;JavaScript;PHP;TypeScript   \n",
       "...                              ...                                 ...   \n",
       "60055                            NaN                                 NaN   \n",
       "61121                            NaN                                 NaN   \n",
       "61570                            NaN                                 NaN   \n",
       "61918                            NaN                                 NaN   \n",
       "62605                            NaN                                 NaN   \n",
       "\n",
       "           MiscTechDesireNextYear MiscTechWorkedWith  \\\n",
       "Respondent                                             \n",
       "8631                          NaN                NaN   \n",
       "25001                         NaN               .NET   \n",
       "58171                        .NET               .NET   \n",
       "42668                         NaN                NaN   \n",
       "51509                     Node.js                NaN   \n",
       "...                           ...                ...   \n",
       "60055                         NaN                NaN   \n",
       "61121                         NaN                NaN   \n",
       "61570                         NaN                NaN   \n",
       "61918                         NaN                NaN   \n",
       "62605                         NaN                NaN   \n",
       "\n",
       "           NEWCollabToolsDesireNextYear  NEWCollabToolsWorkedWith NEWDevOps  \\\n",
       "Respondent                                                                    \n",
       "8631                                NaN  Stack Overflow for Teams       NaN   \n",
       "25001                               NaN                Confluence        No   \n",
       "58171                     Github;Gitlab             Github;Gitlab       NaN   \n",
       "42668                               NaN                       NaN       NaN   \n",
       "51509                            Gitlab                    Gitlab  Not sure   \n",
       "...                                 ...                       ...       ...   \n",
       "60055                               NaN                       NaN       NaN   \n",
       "61121                               NaN                       NaN       NaN   \n",
       "61570                               NaN                       NaN       NaN   \n",
       "61918                               NaN                       NaN       NaN   \n",
       "62605                               NaN                       NaN       NaN   \n",
       "\n",
       "                 NEWDevOpsImpt         NEWEdImpt  \\\n",
       "Respondent                                         \n",
       "8631                       NaN               NaN   \n",
       "25001       Somewhat important               NaN   \n",
       "58171                      NaN               NaN   \n",
       "42668                      NaN               NaN   \n",
       "51509       Somewhat important  Fairly important   \n",
       "...                        ...               ...   \n",
       "60055                      NaN               NaN   \n",
       "61121                      NaN               NaN   \n",
       "61570                      NaN               NaN   \n",
       "61918                      NaN               NaN   \n",
       "62605                      NaN               NaN   \n",
       "\n",
       "                                                   NEWJobHunt  \\\n",
       "Respondent                                                      \n",
       "8631                                                      NaN   \n",
       "25001                                            Just because   \n",
       "58171                                                     NaN   \n",
       "42668                                                     NaN   \n",
       "51509       Better compensation;Trouble with leadership at...   \n",
       "...                                                       ...   \n",
       "60055                                                     NaN   \n",
       "61121                                                     NaN   \n",
       "61570                                                     NaN   \n",
       "61918                                                     NaN   \n",
       "62605                                                     NaN   \n",
       "\n",
       "                                           NEWJobHuntResearch  \\\n",
       "Respondent                                                      \n",
       "8631                                                      NaN   \n",
       "25001       Read company media, such as employee blogs or ...   \n",
       "58171                                                     NaN   \n",
       "42668                                                     NaN   \n",
       "51509       Read other media like news articles, founder p...   \n",
       "...                                                       ...   \n",
       "60055                                                     NaN   \n",
       "61121                                                     NaN   \n",
       "61570                                                     NaN   \n",
       "61918                                                     NaN   \n",
       "62605                                                     NaN   \n",
       "\n",
       "                        NEWLearn NEWOffTopic NEWOnboardGood NEWOtherComms  \\\n",
       "Respondent                                                                  \n",
       "8631                 Once a year         NaN            NaN           Yes   \n",
       "25001           Every few months         Yes            Yes            No   \n",
       "58171                Once a year          No            NaN            No   \n",
       "42668                        NaN         NaN            NaN           NaN   \n",
       "51509       Once every few years    Not sure            Yes            No   \n",
       "...                          ...         ...            ...           ...   \n",
       "60055                        NaN         NaN            NaN           NaN   \n",
       "61121                        NaN         NaN            NaN           NaN   \n",
       "61570                        NaN         NaN            NaN           NaN   \n",
       "61918                        NaN         NaN            NaN           NaN   \n",
       "62605                        NaN         NaN            NaN           NaN   \n",
       "\n",
       "                                 NEWOvertime  \\\n",
       "Respondent                                     \n",
       "8631                                     NaN   \n",
       "25001                                  Never   \n",
       "58171                                    NaN   \n",
       "42668                                    NaN   \n",
       "51509       Often: 1-2 days per week or more   \n",
       "...                                      ...   \n",
       "60055                                    NaN   \n",
       "61121                                    NaN   \n",
       "61570                                    NaN   \n",
       "61918                                    NaN   \n",
       "62605                                    NaN   \n",
       "\n",
       "                                        NEWPurchaseResearch NEWPurpleLink  \\\n",
       "Respondent                                                                  \n",
       "8631                                                    NaN           NaN   \n",
       "25001                                    Start a free trial        Amused   \n",
       "58171       Visit developer communities like Stack Overflow        Amused   \n",
       "42668                                                   NaN           NaN   \n",
       "51509                                                   NaN        Amused   \n",
       "...                                                     ...           ...   \n",
       "60055                                                   NaN           NaN   \n",
       "61121                                                   NaN           NaN   \n",
       "61570                                                   NaN           NaN   \n",
       "61918                                                   NaN           NaN   \n",
       "62605                                                   NaN           NaN   \n",
       "\n",
       "                                                   NEWSOSites  \\\n",
       "Respondent                                                      \n",
       "8631        Stack Overflow (public Q&A for anyone who code...   \n",
       "25001        Stack Overflow (public Q&A for anyone who codes)   \n",
       "58171       Stack Overflow (public Q&A for anyone who code...   \n",
       "42668                                                     NaN   \n",
       "51509       Stack Overflow (public Q&A for anyone who code...   \n",
       "...                                                       ...   \n",
       "60055                                                     NaN   \n",
       "61121                                                     NaN   \n",
       "61570                                                     NaN   \n",
       "61918                                                     NaN   \n",
       "62605                                                     NaN   \n",
       "\n",
       "                                            NEWStuck        OpSys  \\\n",
       "Respondent                                                          \n",
       "8631                                             NaN      Windows   \n",
       "25001       Go for a walk or other physical activity  Linux-based   \n",
       "58171                           Visit Stack Overflow  Linux-based   \n",
       "42668                                            NaN          NaN   \n",
       "51509                  Meditate;Visit Stack Overflow      Windows   \n",
       "...                                              ...          ...   \n",
       "60055                                            NaN          NaN   \n",
       "61121                                            NaN          NaN   \n",
       "61570                                            NaN          NaN   \n",
       "61918                                            NaN          NaN   \n",
       "62605                                            NaN          NaN   \n",
       "\n",
       "                                                      OrgSize  \\\n",
       "Respondent                                                      \n",
       "8631                                                      NaN   \n",
       "25001       Just me - I am a freelancer, sole proprietor, ...   \n",
       "58171                                                     NaN   \n",
       "42668                                                     NaN   \n",
       "51509                                1,000 to 4,999 employees   \n",
       "...                                                       ...   \n",
       "60055                                                     NaN   \n",
       "61121                                                     NaN   \n",
       "61570                                                     NaN   \n",
       "61918                                                     NaN   \n",
       "62605                                                     NaN   \n",
       "\n",
       "           PlatformDesireNextYear PlatformWorkedWith  \\\n",
       "Respondent                                             \n",
       "8631                          iOS            Android   \n",
       "25001                         NaN            Android   \n",
       "58171                     Android            Windows   \n",
       "42668                         NaN                NaN   \n",
       "51509                         NaN                NaN   \n",
       "...                           ...                ...   \n",
       "60055                         NaN                NaN   \n",
       "61121                         NaN                NaN   \n",
       "61570                         NaN                NaN   \n",
       "61918                         NaN                NaN   \n",
       "62605                         NaN                NaN   \n",
       "\n",
       "                             PurchaseWhat                Sexuality SOAccount  \\\n",
       "Respondent                                                                     \n",
       "8631                                  NaN                      NaN       Yes   \n",
       "25001                                 NaN                 Bisexual       NaN   \n",
       "58171                                 NaN                      NaN       Yes   \n",
       "42668                                 NaN                      NaN       NaN   \n",
       "51509       I have little or no influence  Straight / Heterosexual       Yes   \n",
       "...                                   ...                      ...       ...   \n",
       "60055                                 NaN                      NaN       NaN   \n",
       "61121                                 NaN                      NaN       NaN   \n",
       "61570                                 NaN                      NaN       NaN   \n",
       "61918                                 NaN                      NaN       NaN   \n",
       "62605                                 NaN                      NaN       NaN   \n",
       "\n",
       "                     SOComm  \\\n",
       "Respondent                    \n",
       "8631          Yes, somewhat   \n",
       "25001        No, not at all   \n",
       "58171              Not sure   \n",
       "42668                   NaN   \n",
       "51509       Yes, definitely   \n",
       "...                     ...   \n",
       "60055                   NaN   \n",
       "61121                   NaN   \n",
       "61570                   NaN   \n",
       "61918                   NaN   \n",
       "62605                   NaN   \n",
       "\n",
       "                                                   SOPartFreq  \\\n",
       "Respondent                                                      \n",
       "8631                      Less than once per month or monthly   \n",
       "25001                                                     NaN   \n",
       "58171       I have never participated in Q&A on Stack Over...   \n",
       "42668                                                     NaN   \n",
       "51509                                    A few times per week   \n",
       "...                                                       ...   \n",
       "60055                                                     NaN   \n",
       "61121                                                     NaN   \n",
       "61570                                                     NaN   \n",
       "61918                                                     NaN   \n",
       "62605                                                     NaN   \n",
       "\n",
       "                                                  SOVisitFreq  \\\n",
       "Respondent                                                      \n",
       "8631                                    Daily or almost daily   \n",
       "25001       I have never visited Stack Overflow (before to...   \n",
       "58171                                    A few times per week   \n",
       "42668                                                     NaN   \n",
       "51509                                  Multiple times per day   \n",
       "...                                                       ...   \n",
       "60055                                                     NaN   \n",
       "61121                                                     NaN   \n",
       "61570                                                     NaN   \n",
       "61918                                                     NaN   \n",
       "62605                                                     NaN   \n",
       "\n",
       "                            SurveyEase           SurveyLength Trans  \\\n",
       "Respondent                                                            \n",
       "8631        Neither easy nor difficult               Too long    No   \n",
       "25001                             Easy              Too short   Yes   \n",
       "58171                             Easy  Appropriate in length   NaN   \n",
       "42668                              NaN                    NaN   NaN   \n",
       "51509                             Easy  Appropriate in length    No   \n",
       "...                                ...                    ...   ...   \n",
       "60055                              NaN                    NaN   NaN   \n",
       "61121                              NaN                    NaN   NaN   \n",
       "61570                              NaN                    NaN   NaN   \n",
       "61918                              NaN                    NaN   NaN   \n",
       "62605                              NaN                    NaN   NaN   \n",
       "\n",
       "                                               UndergradMajor  \\\n",
       "Respondent                                                      \n",
       "8631        Computer science, computer engineering, or sof...   \n",
       "25001                                                     NaN   \n",
       "58171                                                     NaN   \n",
       "42668                                                     NaN   \n",
       "51509       Computer science, computer engineering, or sof...   \n",
       "...                                                       ...   \n",
       "60055                                                     NaN   \n",
       "61121                                                     NaN   \n",
       "61570                                                     NaN   \n",
       "61918                                                     NaN   \n",
       "62605                                                     NaN   \n",
       "\n",
       "           WebframeDesireNextYear WebframeWorkedWith  \\\n",
       "Respondent                                             \n",
       "8631                       Spring         Angular.js   \n",
       "25001                         NaN            Angular   \n",
       "58171              ASP.NET;Spring     Laravel;Spring   \n",
       "42668                         NaN                NaN   \n",
       "51509             Angular;Express            Angular   \n",
       "...                           ...                ...   \n",
       "60055                         NaN                NaN   \n",
       "61121                         NaN                NaN   \n",
       "61570                         NaN                NaN   \n",
       "61918                         NaN                NaN   \n",
       "62605                         NaN                NaN   \n",
       "\n",
       "                                       WelcomeChange  WorkWeekHrs  \\\n",
       "Respondent                                                          \n",
       "8631        Somewhat more welcome now than last year          NaN   \n",
       "25001          A lot less welcome now than last year          NaN   \n",
       "58171          A lot more welcome now than last year          NaN   \n",
       "42668                                            NaN          NaN   \n",
       "51509        Just as welcome now as I felt last year         40.0   \n",
       "...                                              ...          ...   \n",
       "60055                                            NaN          NaN   \n",
       "61121                                            NaN          NaN   \n",
       "61570                                            NaN          NaN   \n",
       "61918                                            NaN          NaN   \n",
       "62605                                            NaN          NaN   \n",
       "\n",
       "                   YearsCode      YearsCodePro  \n",
       "Respondent                                      \n",
       "8631                       3               NaN  \n",
       "25001       Less than 1 year  Less than 1 year  \n",
       "58171                      5               NaN  \n",
       "42668                    NaN               NaN  \n",
       "51509                      8                 5  \n",
       "...                      ...               ...  \n",
       "60055                    NaN               NaN  \n",
       "61121                    NaN               NaN  \n",
       "61570                    NaN               NaN  \n",
       "61918                    NaN               NaN  \n",
       "62605                    NaN               NaN  \n",
       "\n",
       "[64461 rows x 60 columns]"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [],
   "source": [
    "df.sort_values(by = [\"Country\", \"ConvertedComp\"], ascending = [True, False], inplace = True)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Country</th>\n",
       "      <th>ConvertedComp</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Respondent</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>65381</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>1000000.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>65456</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>1000000.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>62788</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>1000000.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>38672</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>231192.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28374</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>130000.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>63848</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>23328.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9839</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>23328.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>51862</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>20950.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>51509</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>20220.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>44484</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>18660.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15422</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>18000.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2932</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>16335.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26540</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>13992.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>57269</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>10884.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26775</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>8016.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30568</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>5448.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30522</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>4668.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28811</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>4509.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34969</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>4356.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26857</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>2328.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33878</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>1860.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35753</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>780.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18049</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>109.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35295</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8631</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25001</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>58171</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>42668</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>37951</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7616</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>43966</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>62698</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>51532</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36574</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>43946</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>43808</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>37159</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>44555</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35687</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>37605</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>44556</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23798</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>42188</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>44697</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>60507</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>898</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>51900</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35179</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>55019</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>46844</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                Country  ConvertedComp\n",
       "Respondent                            \n",
       "65381       Afghanistan      1000000.0\n",
       "65456       Afghanistan      1000000.0\n",
       "62788       Afghanistan      1000000.0\n",
       "38672       Afghanistan       231192.0\n",
       "28374       Afghanistan       130000.0\n",
       "63848       Afghanistan        23328.0\n",
       "9839        Afghanistan        23328.0\n",
       "51862       Afghanistan        20950.0\n",
       "51509       Afghanistan        20220.0\n",
       "44484       Afghanistan        18660.0\n",
       "15422       Afghanistan        18000.0\n",
       "2932        Afghanistan        16335.0\n",
       "26540       Afghanistan        13992.0\n",
       "57269       Afghanistan        10884.0\n",
       "26775       Afghanistan         8016.0\n",
       "30568       Afghanistan         5448.0\n",
       "30522       Afghanistan         4668.0\n",
       "28811       Afghanistan         4509.0\n",
       "34969       Afghanistan         4356.0\n",
       "26857       Afghanistan         2328.0\n",
       "33878       Afghanistan         1860.0\n",
       "35753       Afghanistan          780.0\n",
       "18049       Afghanistan          109.0\n",
       "35295       Afghanistan            0.0\n",
       "8631        Afghanistan            NaN\n",
       "25001       Afghanistan            NaN\n",
       "58171       Afghanistan            NaN\n",
       "42668       Afghanistan            NaN\n",
       "37951       Afghanistan            NaN\n",
       "7616        Afghanistan            NaN\n",
       "43966       Afghanistan            NaN\n",
       "62698       Afghanistan            NaN\n",
       "51532       Afghanistan            NaN\n",
       "36574       Afghanistan            NaN\n",
       "43946       Afghanistan            NaN\n",
       "43808       Afghanistan            NaN\n",
       "37159       Afghanistan            NaN\n",
       "44555       Afghanistan            NaN\n",
       "35687       Afghanistan            NaN\n",
       "37605       Afghanistan            NaN\n",
       "44556       Afghanistan            NaN\n",
       "23798       Afghanistan            NaN\n",
       "42188       Afghanistan            NaN\n",
       "44697       Afghanistan            NaN\n",
       "60507       Afghanistan            NaN\n",
       "898         Afghanistan            NaN\n",
       "51900       Afghanistan            NaN\n",
       "35179       Afghanistan            NaN\n",
       "55019       Afghanistan            NaN\n",
       "46844       Afghanistan            NaN"
      ]
     },
     "execution_count": 25,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df[[\"Country\", \"ConvertedComp\"]].head(50)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Respondent\n",
       "54263    2000000.0\n",
       "5725     2000000.0\n",
       "43430    2000000.0\n",
       "59279    2000000.0\n",
       "46711    2000000.0\n",
       "1793     2000000.0\n",
       "3072     2000000.0\n",
       "3045     2000000.0\n",
       "1413     2000000.0\n",
       "3261     2000000.0\n",
       "Name: ConvertedComp, dtype: float64"
      ]
     },
     "execution_count": 32,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df[\"ConvertedComp\"].nlargest(10) # diaplay largest salaries in this one 10 slargest salaries"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 36,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Country</th>\n",
       "      <th>ConvertedComp</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Respondent</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>54263</th>\n",
       "      <td>Canada</td>\n",
       "      <td>2000000.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5725</th>\n",
       "      <td>Canada</td>\n",
       "      <td>2000000.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>43430</th>\n",
       "      <td>Italy</td>\n",
       "      <td>2000000.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59279</th>\n",
       "      <td>Nepal</td>\n",
       "      <td>2000000.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>46711</th>\n",
       "      <td>Nomadic</td>\n",
       "      <td>2000000.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1793</th>\n",
       "      <td>United States</td>\n",
       "      <td>2000000.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3072</th>\n",
       "      <td>United States</td>\n",
       "      <td>2000000.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3045</th>\n",
       "      <td>United States</td>\n",
       "      <td>2000000.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1413</th>\n",
       "      <td>United States</td>\n",
       "      <td>2000000.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3261</th>\n",
       "      <td>United States</td>\n",
       "      <td>2000000.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                  Country  ConvertedComp\n",
       "Respondent                              \n",
       "54263              Canada      2000000.0\n",
       "5725               Canada      2000000.0\n",
       "43430               Italy      2000000.0\n",
       "59279               Nepal      2000000.0\n",
       "46711             Nomadic      2000000.0\n",
       "1793        United States      2000000.0\n",
       "3072        United States      2000000.0\n",
       "3045        United States      2000000.0\n",
       "1413        United States      2000000.0\n",
       "3261        United States      2000000.0"
      ]
     },
     "execution_count": 36,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df[[\"Country\", \"ConvertedComp\"]].nlargest(10, \"ConvertedComp\") # display largest salaries with other columns "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 37,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>MainBranch</th>\n",
       "      <th>Hobbyist</th>\n",
       "      <th>Age</th>\n",
       "      <th>Age1stCode</th>\n",
       "      <th>CompFreq</th>\n",
       "      <th>CompTotal</th>\n",
       "      <th>ConvertedComp</th>\n",
       "      <th>Country</th>\n",
       "      <th>CurrencyDesc</th>\n",
       "      <th>CurrencySymbol</th>\n",
       "      <th>DatabaseDesireNextYear</th>\n",
       "      <th>DatabaseWorkedWith</th>\n",
       "      <th>DevType</th>\n",
       "      <th>EdLevel</th>\n",
       "      <th>Employment</th>\n",
       "      <th>Ethnicity</th>\n",
       "      <th>Gender</th>\n",
       "      <th>JobFactors</th>\n",
       "      <th>JobSat</th>\n",
       "      <th>JobSeek</th>\n",
       "      <th>LanguageDesireNextYear</th>\n",
       "      <th>LanguageWorkedWith</th>\n",
       "      <th>MiscTechDesireNextYear</th>\n",
       "      <th>MiscTechWorkedWith</th>\n",
       "      <th>NEWCollabToolsDesireNextYear</th>\n",
       "      <th>NEWCollabToolsWorkedWith</th>\n",
       "      <th>NEWDevOps</th>\n",
       "      <th>NEWDevOpsImpt</th>\n",
       "      <th>NEWEdImpt</th>\n",
       "      <th>NEWJobHunt</th>\n",
       "      <th>NEWJobHuntResearch</th>\n",
       "      <th>NEWLearn</th>\n",
       "      <th>NEWOffTopic</th>\n",
       "      <th>NEWOnboardGood</th>\n",
       "      <th>NEWOtherComms</th>\n",
       "      <th>NEWOvertime</th>\n",
       "      <th>NEWPurchaseResearch</th>\n",
       "      <th>NEWPurpleLink</th>\n",
       "      <th>NEWSOSites</th>\n",
       "      <th>NEWStuck</th>\n",
       "      <th>OpSys</th>\n",
       "      <th>OrgSize</th>\n",
       "      <th>PlatformDesireNextYear</th>\n",
       "      <th>PlatformWorkedWith</th>\n",
       "      <th>PurchaseWhat</th>\n",
       "      <th>Sexuality</th>\n",
       "      <th>SOAccount</th>\n",
       "      <th>SOComm</th>\n",
       "      <th>SOPartFreq</th>\n",
       "      <th>SOVisitFreq</th>\n",
       "      <th>SurveyEase</th>\n",
       "      <th>SurveyLength</th>\n",
       "      <th>Trans</th>\n",
       "      <th>UndergradMajor</th>\n",
       "      <th>WebframeDesireNextYear</th>\n",
       "      <th>WebframeWorkedWith</th>\n",
       "      <th>WelcomeChange</th>\n",
       "      <th>WorkWeekHrs</th>\n",
       "      <th>YearsCode</th>\n",
       "      <th>YearsCodePro</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Respondent</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>54263</th>\n",
       "      <td>I am a developer by profession</td>\n",
       "      <td>Yes</td>\n",
       "      <td>29.0</td>\n",
       "      <td>10</td>\n",
       "      <td>Weekly</td>\n",
       "      <td>7.000000e+04</td>\n",
       "      <td>2000000.0</td>\n",
       "      <td>Canada</td>\n",
       "      <td>United States dollar</td>\n",
       "      <td>USD</td>\n",
       "      <td>Redis</td>\n",
       "      <td>Firebase;PostgreSQL;SQLite</td>\n",
       "      <td>Developer, mobile</td>\n",
       "      <td>Bachelor’s degree (B.A., B.S., B.Eng., etc.)</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>South Asian</td>\n",
       "      <td>Man</td>\n",
       "      <td>Flex time or a flexible schedule;Languages, fr...</td>\n",
       "      <td>Slightly satisfied</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Go;Haskell;Rust</td>\n",
       "      <td>Dart;Java;JavaScript;Kotlin;Python;TypeScript</td>\n",
       "      <td>React Native;TensorFlow;Torch/PyTorch</td>\n",
       "      <td>Flutter;Node.js</td>\n",
       "      <td>Facebook Workplace</td>\n",
       "      <td>Confluence;Jira;Github;Gitlab;Slack;Microsoft ...</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Extremely important</td>\n",
       "      <td>Somewhat important</td>\n",
       "      <td>Just because;Curious about other opportunities...</td>\n",
       "      <td>Read company media, such as employee blogs or ...</td>\n",
       "      <td>Every few months</td>\n",
       "      <td>Not sure</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Rarely: 1-2 days per year or less</td>\n",
       "      <td>Start a free trial;Ask developers I know/work ...</td>\n",
       "      <td>Hello, old friend</td>\n",
       "      <td>Stack Overflow (public Q&amp;A for anyone who code...</td>\n",
       "      <td>Meditate;Visit Stack Overflow;Go for a walk or...</td>\n",
       "      <td>MacOS</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Docker;Heroku;iOS;Kubernetes</td>\n",
       "      <td>Android;AWS;Linux</td>\n",
       "      <td>I have some influence</td>\n",
       "      <td>Straight / Heterosexual</td>\n",
       "      <td>Not sure/can't remember</td>\n",
       "      <td>Yes, somewhat</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Daily or almost daily</td>\n",
       "      <td>Neither easy nor difficult</td>\n",
       "      <td>Too long</td>\n",
       "      <td>No</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>React.js;Vue.js</td>\n",
       "      <td>Express;Flask;jQuery</td>\n",
       "      <td>Just as welcome now as I felt last year</td>\n",
       "      <td>36.0</td>\n",
       "      <td>14</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5725</th>\n",
       "      <td>I am a developer by profession</td>\n",
       "      <td>No</td>\n",
       "      <td>26.0</td>\n",
       "      <td>14</td>\n",
       "      <td>Monthly</td>\n",
       "      <td>1.800000e+05</td>\n",
       "      <td>2000000.0</td>\n",
       "      <td>Canada</td>\n",
       "      <td>United States dollar</td>\n",
       "      <td>USD</td>\n",
       "      <td>Redis</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Developer, back-end;DevOps specialist</td>\n",
       "      <td>Bachelor’s degree (B.A., B.S., B.Eng., etc.)</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>Man</td>\n",
       "      <td>Languages, frameworks, and other technologies ...</td>\n",
       "      <td>Slightly satisfied</td>\n",
       "      <td>I am not interested in new job opportunities</td>\n",
       "      <td>Go;Python;Ruby;TypeScript</td>\n",
       "      <td>Bash/Shell/PowerShell;JavaScript;Python</td>\n",
       "      <td>Teraform</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Github;Gitlab;Google Suite (Docs, Meet, etc)</td>\n",
       "      <td>Github;Google Suite (Docs, Meet, etc)</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Extremely important</td>\n",
       "      <td>Very important</td>\n",
       "      <td>Trouble with my teammates;Better work/life bal...</td>\n",
       "      <td>Read company media, such as employee blogs or ...</td>\n",
       "      <td>Once a year</td>\n",
       "      <td>No</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No</td>\n",
       "      <td>Often: 1-2 days per week or more</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Hello, old friend</td>\n",
       "      <td>Stack Overflow (public Q&amp;A for anyone who code...</td>\n",
       "      <td>Call a coworker or friend;Go for a walk or oth...</td>\n",
       "      <td>Linux-based</td>\n",
       "      <td>10,000 or more employees</td>\n",
       "      <td>Docker;Google Cloud Platform</td>\n",
       "      <td>Docker;Google Cloud Platform</td>\n",
       "      <td>I have little or no influence</td>\n",
       "      <td>Straight / Heterosexual</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No, not at all</td>\n",
       "      <td>I have never participated in Q&amp;A on Stack Over...</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>Easy</td>\n",
       "      <td>Too short</td>\n",
       "      <td>No</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>Gatsby</td>\n",
       "      <td>Spring</td>\n",
       "      <td>Not applicable - I did not use Stack Overflow ...</td>\n",
       "      <td>40.0</td>\n",
       "      <td>10</td>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>43430</th>\n",
       "      <td>I am a developer by profession</td>\n",
       "      <td>Yes</td>\n",
       "      <td>33.0</td>\n",
       "      <td>17</td>\n",
       "      <td>Monthly</td>\n",
       "      <td>1.710000e+05</td>\n",
       "      <td>2000000.0</td>\n",
       "      <td>Italy</td>\n",
       "      <td>United States dollar</td>\n",
       "      <td>USD</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Academic researcher;Developer, back-end;Develo...</td>\n",
       "      <td>Other doctoral degree (Ph.D., Ed.D., etc.)</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>Man</td>\n",
       "      <td>Languages, frameworks, and other technologies ...</td>\n",
       "      <td>Very satisfied</td>\n",
       "      <td>I am not interested in new job opportunities</td>\n",
       "      <td>Assembly;Bash/Shell/PowerShell;C;C++;Perl;Python</td>\n",
       "      <td>Assembly;Bash/Shell/PowerShell;C;C++;Perl;Python</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Confluence;Jira;Github;Gitlab;Slack;Google Sui...</td>\n",
       "      <td>Confluence;Jira;Github;Gitlab;Slack;Google Sui...</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Somewhat important</td>\n",
       "      <td>Fairly important</td>\n",
       "      <td>Curious about other opportunities;Better compe...</td>\n",
       "      <td>Read company media, such as employee blogs or ...</td>\n",
       "      <td>Once every few years</td>\n",
       "      <td>Not sure</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No</td>\n",
       "      <td>Often: 1-2 days per week or more</td>\n",
       "      <td>Start a free trial</td>\n",
       "      <td>Indifferent</td>\n",
       "      <td>Stack Overflow (public Q&amp;A for anyone who codes)</td>\n",
       "      <td>Call a coworker or friend;Go for a walk or oth...</td>\n",
       "      <td>Linux-based</td>\n",
       "      <td>10,000 or more employees</td>\n",
       "      <td>Android;Linux;MacOS;Windows</td>\n",
       "      <td>Android;Linux;MacOS;Windows</td>\n",
       "      <td>I have some influence</td>\n",
       "      <td>Straight / Heterosexual</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No, not at all</td>\n",
       "      <td>I have never participated in Q&amp;A on Stack Over...</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>Easy</td>\n",
       "      <td>Appropriate in length</td>\n",
       "      <td>No</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Just as welcome now as I felt last year</td>\n",
       "      <td>40.0</td>\n",
       "      <td>13</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59279</th>\n",
       "      <td>I am a developer by profession</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>12</td>\n",
       "      <td>Monthly</td>\n",
       "      <td>3.000000e+05</td>\n",
       "      <td>2000000.0</td>\n",
       "      <td>Nepal</td>\n",
       "      <td>United States dollar</td>\n",
       "      <td>USD</td>\n",
       "      <td>Cassandra;Couchbase;DynamoDB;IBM DB2;MariaDB;M...</td>\n",
       "      <td>Elasticsearch;Firebase;Microsoft SQL Server;My...</td>\n",
       "      <td>Data or business analyst;Data scientist or mac...</td>\n",
       "      <td>Master’s degree (M.A., M.S., M.Eng., MBA, etc.)</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>South Asian;Southeast Asian</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Flex time or a flexible schedule;Remote work o...</td>\n",
       "      <td>Very satisfied</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Dart;Go;Haskell;Julia;Kotlin;Perl;PHP;R;Ruby;R...</td>\n",
       "      <td>Assembly;Bash/Shell/PowerShell;C;C#;C++;HTML/C...</td>\n",
       "      <td>Ansible;Apache Spark;Flutter;Hadoop;Keras;Pand...</td>\n",
       "      <td>.NET;.NET Core;Chef;Cordova;Node.js;React Nati...</td>\n",
       "      <td>Gitlab;Trello</td>\n",
       "      <td>Confluence;Jira;Github;Facebook Workplace;Slac...</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Extremely important</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Having a bad day (or week or month) at work;Tr...</td>\n",
       "      <td>Read company media, such as employee blogs or ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No</td>\n",
       "      <td>Sometimes: 1-2 days per month but less than we...</td>\n",
       "      <td>Start a free trial;Ask developers I know/work ...</td>\n",
       "      <td>Amused</td>\n",
       "      <td>Stack Overflow (public Q&amp;A for anyone who code...</td>\n",
       "      <td>Call a coworker or friend;Visit Stack Overflow...</td>\n",
       "      <td>Windows</td>\n",
       "      <td>1,000 to 4,999 employees</td>\n",
       "      <td>Arduino;Heroku;IBM Cloud or Watson;Kubernetes;...</td>\n",
       "      <td>Android;AWS;Docker;Google Cloud Platform;iOS;L...</td>\n",
       "      <td>I have a great deal of influence</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes, somewhat</td>\n",
       "      <td>I have never participated in Q&amp;A on Stack Over...</td>\n",
       "      <td>Multiple times per day</td>\n",
       "      <td>Neither easy nor difficult</td>\n",
       "      <td>Too long</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>Django;Drupal;Flask;Gatsby;Laravel</td>\n",
       "      <td>Angular;Angular.js;ASP.NET;ASP.NET Core;Expres...</td>\n",
       "      <td>A lot more welcome now than last year</td>\n",
       "      <td>40.0</td>\n",
       "      <td>20</td>\n",
       "      <td>14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>46711</th>\n",
       "      <td>I am a developer by profession</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Younger than 5 years</td>\n",
       "      <td>Yearly</td>\n",
       "      <td>1.000000e+56</td>\n",
       "      <td>2000000.0</td>\n",
       "      <td>Nomadic</td>\n",
       "      <td>United States dollar</td>\n",
       "      <td>USD</td>\n",
       "      <td>Cassandra;Couchbase;DynamoDB;Elasticsearch;Fir...</td>\n",
       "      <td>Cassandra;Couchbase;DynamoDB;Elasticsearch;Fir...</td>\n",
       "      <td>Academic researcher;Data or business analyst;D...</td>\n",
       "      <td>Primary/elementary school</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Languages, frameworks, and other technologies ...</td>\n",
       "      <td>Very satisfied</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Assembly;Bash/Shell/PowerShell;C;C#;C++;Dart;G...</td>\n",
       "      <td>Assembly;Bash/Shell/PowerShell;C;C#;C++;Dart;G...</td>\n",
       "      <td>.NET;.NET Core;Ansible;Apache Spark;Chef;Cordo...</td>\n",
       "      <td>.NET;.NET Core;Ansible;Apache Spark;Chef;Cordo...</td>\n",
       "      <td>Confluence;Jira;Github;Gitlab;Facebook Workpla...</td>\n",
       "      <td>Confluence;Jira;Github;Gitlab;Facebook Workpla...</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Extremely important</td>\n",
       "      <td>Not at all important/not necessary</td>\n",
       "      <td>Just because;Having a bad day (or week or mont...</td>\n",
       "      <td>Read company media, such as employee blogs or ...</td>\n",
       "      <td>Every few months</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Often: 1-2 days per week or more</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Hello, old friend</td>\n",
       "      <td>Stack Overflow (public Q&amp;A for anyone who code...</td>\n",
       "      <td>Meditate;Play games;Call a coworker or friend;...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10,000 or more employees</td>\n",
       "      <td>Android;Arduino;AWS;Docker;Google Cloud Platfo...</td>\n",
       "      <td>Android;Arduino;AWS;Docker;Google Cloud Platfo...</td>\n",
       "      <td>I have little or no influence</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Multiple times per day</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Angular;Angular.js;ASP.NET;ASP.NET Core;Django...</td>\n",
       "      <td>Angular;Angular.js;ASP.NET;ASP.NET Core;Django...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>168.0</td>\n",
       "      <td>More than 50 years</td>\n",
       "      <td>More than 50 years</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1793</th>\n",
       "      <td>I am a developer by profession</td>\n",
       "      <td>Yes</td>\n",
       "      <td>27.0</td>\n",
       "      <td>16</td>\n",
       "      <td>Weekly</td>\n",
       "      <td>1.200000e+05</td>\n",
       "      <td>2000000.0</td>\n",
       "      <td>United States</td>\n",
       "      <td>United States dollar</td>\n",
       "      <td>USD</td>\n",
       "      <td>MariaDB;PostgreSQL;Redis</td>\n",
       "      <td>Elasticsearch;Oracle;SQLite</td>\n",
       "      <td>Developer, back-end</td>\n",
       "      <td>Bachelor’s degree (B.A., B.S., B.Eng., etc.)</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>Man</td>\n",
       "      <td>Languages, frameworks, and other technologies ...</td>\n",
       "      <td>Slightly satisfied</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Dart;Go;Ruby</td>\n",
       "      <td>Bash/Shell/PowerShell;C++;HTML/CSS;Python;Rust...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Ansible</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Confluence;Jira;Github;Microsoft Teams</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Neutral</td>\n",
       "      <td>Very important</td>\n",
       "      <td>Just because;Having a bad day (or week or mont...</td>\n",
       "      <td>Read company media, such as employee blogs or ...</td>\n",
       "      <td>Once a year</td>\n",
       "      <td>No</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No</td>\n",
       "      <td>Rarely: 1-2 days per year or less</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Hello, old friend</td>\n",
       "      <td>Stack Overflow (public Q&amp;A for anyone who code...</td>\n",
       "      <td>Call a coworker or friend;Visit Stack Overflow...</td>\n",
       "      <td>Linux-based</td>\n",
       "      <td>1,000 to 4,999 employees</td>\n",
       "      <td>Android;Arduino</td>\n",
       "      <td>Docker;Linux;Raspberry Pi</td>\n",
       "      <td>I have little or no influence</td>\n",
       "      <td>Straight / Heterosexual</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No, not really</td>\n",
       "      <td>I have never participated in Q&amp;A on Stack Over...</td>\n",
       "      <td>Daily or almost daily</td>\n",
       "      <td>Easy</td>\n",
       "      <td>Appropriate in length</td>\n",
       "      <td>No</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Just as welcome now as I felt last year</td>\n",
       "      <td>40.0</td>\n",
       "      <td>12</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3072</th>\n",
       "      <td>I am a developer by profession</td>\n",
       "      <td>Yes</td>\n",
       "      <td>32.0</td>\n",
       "      <td>22</td>\n",
       "      <td>Weekly</td>\n",
       "      <td>1.020000e+05</td>\n",
       "      <td>2000000.0</td>\n",
       "      <td>United States</td>\n",
       "      <td>United States dollar</td>\n",
       "      <td>USD</td>\n",
       "      <td>MongoDB</td>\n",
       "      <td>Microsoft SQL Server;Redis</td>\n",
       "      <td>Data scientist or machine learning specialist;...</td>\n",
       "      <td>Master’s degree (M.A., M.S., M.Eng., MBA, etc.)</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>Man</td>\n",
       "      <td>Flex time or a flexible schedule;Languages, fr...</td>\n",
       "      <td>Very satisfied</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>C#;Python;Rust</td>\n",
       "      <td>C#;Python</td>\n",
       "      <td>.NET Core;Cordova;Pandas;TensorFlow;Torch/PyTorch</td>\n",
       "      <td>.NET Core;Pandas</td>\n",
       "      <td>Confluence;Gitlab;Microsoft Teams;Microsoft Az...</td>\n",
       "      <td>Confluence;Gitlab;Microsoft Azure</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Extremely important</td>\n",
       "      <td>Very important</td>\n",
       "      <td>Curious about other opportunities;Growth or le...</td>\n",
       "      <td>Read company media, such as employee blogs or ...</td>\n",
       "      <td>Once a year</td>\n",
       "      <td>No</td>\n",
       "      <td>No</td>\n",
       "      <td>No</td>\n",
       "      <td>Sometimes: 1-2 days per month but less than we...</td>\n",
       "      <td>Start a free trial;Ask developers I know/work ...</td>\n",
       "      <td>Hello, old friend</td>\n",
       "      <td>Stack Overflow (public Q&amp;A for anyone who code...</td>\n",
       "      <td>Meditate;Play games;Call a coworker or friend;...</td>\n",
       "      <td>Windows</td>\n",
       "      <td>10,000 or more employees</td>\n",
       "      <td>Docker;Linux;Windows</td>\n",
       "      <td>Docker;Linux;Windows</td>\n",
       "      <td>I have some influence</td>\n",
       "      <td>Straight / Heterosexual</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes, definitely</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>Easy</td>\n",
       "      <td>Appropriate in length</td>\n",
       "      <td>No</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>ASP.NET Core;Flask</td>\n",
       "      <td>ASP.NET Core</td>\n",
       "      <td>Somewhat less welcome now than last year</td>\n",
       "      <td>40.0</td>\n",
       "      <td>10</td>\n",
       "      <td>7</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3045</th>\n",
       "      <td>I am a developer by profession</td>\n",
       "      <td>Yes</td>\n",
       "      <td>35.0</td>\n",
       "      <td>12</td>\n",
       "      <td>Weekly</td>\n",
       "      <td>1.000000e+05</td>\n",
       "      <td>2000000.0</td>\n",
       "      <td>United States</td>\n",
       "      <td>United States dollar</td>\n",
       "      <td>USD</td>\n",
       "      <td>MongoDB;MySQL;Oracle;PostgreSQL;SQLite</td>\n",
       "      <td>DynamoDB;MariaDB;Microsoft SQL Server;MongoDB;...</td>\n",
       "      <td>Developer, back-end;Developer, desktop or ente...</td>\n",
       "      <td>Bachelor’s degree (B.A., B.S., B.Eng., etc.)</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>Man</td>\n",
       "      <td>Office environment or company culture;Opportun...</td>\n",
       "      <td>Slightly dissatisfied</td>\n",
       "      <td>I am actively looking for a job</td>\n",
       "      <td>Bash/Shell/PowerShell;C#;C++;Go;HTML/CSS;Java;...</td>\n",
       "      <td>Bash/Shell/PowerShell;C;C#;C++;Go;HTML/CSS;Jav...</td>\n",
       "      <td>.NET;.NET Core;Apache Spark;Hadoop;Unity 3D;Un...</td>\n",
       "      <td>.NET;.NET Core;Apache Spark;Hadoop;Node.js;Uni...</td>\n",
       "      <td>Github;Microsoft Teams;Microsoft Azure;Google ...</td>\n",
       "      <td>Github;Slack;Microsoft Teams;Microsoft Azure;G...</td>\n",
       "      <td>No</td>\n",
       "      <td>Not very important</td>\n",
       "      <td>Very important</td>\n",
       "      <td>Having a bad day (or week or month) at work;Wa...</td>\n",
       "      <td>Company reviews from third party sites (e.g. G...</td>\n",
       "      <td>Every few months</td>\n",
       "      <td>No</td>\n",
       "      <td>No</td>\n",
       "      <td>No</td>\n",
       "      <td>Sometimes: 1-2 days per month but less than we...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Amused</td>\n",
       "      <td>Stack Overflow (public Q&amp;A for anyone who code...</td>\n",
       "      <td>Play games;Visit Stack Overflow;Go for a walk ...</td>\n",
       "      <td>Windows</td>\n",
       "      <td>100 to 499 employees</td>\n",
       "      <td>Android;AWS;iOS;Kubernetes;Linux;MacOS;Microso...</td>\n",
       "      <td>Android;AWS;Linux;MacOS;Microsoft Azure;Windows</td>\n",
       "      <td>I have little or no influence</td>\n",
       "      <td>Straight / Heterosexual</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes, somewhat</td>\n",
       "      <td>Less than once per month or monthly</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>Neither easy nor difficult</td>\n",
       "      <td>Too long</td>\n",
       "      <td>No</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>Angular;Angular.js;ASP.NET;ASP.NET Core;Django...</td>\n",
       "      <td>Angular;Angular.js;ASP.NET;ASP.NET Core;Django...</td>\n",
       "      <td>Just as welcome now as I felt last year</td>\n",
       "      <td>42.0</td>\n",
       "      <td>23</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1413</th>\n",
       "      <td>I am a developer by profession</td>\n",
       "      <td>Yes</td>\n",
       "      <td>25.0</td>\n",
       "      <td>12</td>\n",
       "      <td>Weekly</td>\n",
       "      <td>4.100000e+04</td>\n",
       "      <td>2000000.0</td>\n",
       "      <td>United States</td>\n",
       "      <td>United States dollar</td>\n",
       "      <td>USD</td>\n",
       "      <td>Microsoft SQL Server;MySQL</td>\n",
       "      <td>Microsoft SQL Server;MySQL</td>\n",
       "      <td>Database administrator;Designer;Developer, bac...</td>\n",
       "      <td>Some college/university study without earning ...</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>Non-binary, genderqueer, or gender non-conforming</td>\n",
       "      <td>Flex time or a flexible schedule;How widely us...</td>\n",
       "      <td>Slightly satisfied</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Bash/Shell/PowerShell;HTML/CSS;JavaScript;Perl...</td>\n",
       "      <td>Bash/Shell/PowerShell;HTML/CSS;JavaScript;Perl...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Jira;Github</td>\n",
       "      <td>Github</td>\n",
       "      <td>No</td>\n",
       "      <td>Neutral</td>\n",
       "      <td>Fairly important</td>\n",
       "      <td>Curious about other opportunities;Better compe...</td>\n",
       "      <td>Read company media, such as employee blogs or ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No</td>\n",
       "      <td>Occasionally: 1-2 days per quarter but less th...</td>\n",
       "      <td>Start a free trial;Ask developers I know/work ...</td>\n",
       "      <td>Hello, old friend</td>\n",
       "      <td>Stack Overflow (public Q&amp;A for anyone who code...</td>\n",
       "      <td>Play games;Call a coworker or friend;Visit Sta...</td>\n",
       "      <td>Windows</td>\n",
       "      <td>500 to 999 employees</td>\n",
       "      <td>Linux;Raspberry Pi;Windows</td>\n",
       "      <td>Linux;Raspberry Pi;Windows;WordPress</td>\n",
       "      <td>I have some influence</td>\n",
       "      <td>Bisexual</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No, not really</td>\n",
       "      <td>Less than once per month or monthly</td>\n",
       "      <td>Daily or almost daily</td>\n",
       "      <td>Neither easy nor difficult</td>\n",
       "      <td>Appropriate in length</td>\n",
       "      <td>No</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>jQuery;Laravel</td>\n",
       "      <td>jQuery</td>\n",
       "      <td>Just as welcome now as I felt last year</td>\n",
       "      <td>37.0</td>\n",
       "      <td>13</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3261</th>\n",
       "      <td>I am a developer by profession</td>\n",
       "      <td>Yes</td>\n",
       "      <td>34.0</td>\n",
       "      <td>23</td>\n",
       "      <td>Weekly</td>\n",
       "      <td>1.150000e+05</td>\n",
       "      <td>2000000.0</td>\n",
       "      <td>United States</td>\n",
       "      <td>United States dollar</td>\n",
       "      <td>USD</td>\n",
       "      <td>DynamoDB;MySQL;Redis</td>\n",
       "      <td>DynamoDB;MongoDB</td>\n",
       "      <td>Data scientist or machine learning specialist;...</td>\n",
       "      <td>Bachelor’s degree (B.A., B.S., B.Eng., etc.)</td>\n",
       "      <td>Independent contractor, freelancer, or self-em...</td>\n",
       "      <td>White or of European descent;South Asian;Multi...</td>\n",
       "      <td>Man</td>\n",
       "      <td>Languages, frameworks, and other technologies ...</td>\n",
       "      <td>Very dissatisfied</td>\n",
       "      <td>I am actively looking for a job</td>\n",
       "      <td>HTML/CSS;Java;JavaScript;Python</td>\n",
       "      <td>HTML/CSS;Java;JavaScript;Python</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Confluence;Jira;Github;Slack;Google Suite (Doc...</td>\n",
       "      <td>Confluence;Jira;Github;Slack;Google Suite (Doc...</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Extremely important</td>\n",
       "      <td>Critically important</td>\n",
       "      <td>Having a bad day (or week or month) at work;Cu...</td>\n",
       "      <td>Read company media, such as employee blogs or ...</td>\n",
       "      <td>Once every few years</td>\n",
       "      <td>No</td>\n",
       "      <td>No</td>\n",
       "      <td>No</td>\n",
       "      <td>Often: 1-2 days per week or more</td>\n",
       "      <td>Visit developer communities like Stack Overflow</td>\n",
       "      <td>Hello, old friend</td>\n",
       "      <td>Stack Overflow (public Q&amp;A for anyone who code...</td>\n",
       "      <td>Play games;Call a coworker or friend;Visit Sta...</td>\n",
       "      <td>MacOS</td>\n",
       "      <td>100 to 499 employees</td>\n",
       "      <td>AWS;Kubernetes</td>\n",
       "      <td>AWS</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Straight / Heterosexual</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes, definitely</td>\n",
       "      <td>I have never participated in Q&amp;A on Stack Over...</td>\n",
       "      <td>A few times per week</td>\n",
       "      <td>Easy</td>\n",
       "      <td>Appropriate in length</td>\n",
       "      <td>No</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>Django;jQuery;Spring</td>\n",
       "      <td>Spring</td>\n",
       "      <td>Just as welcome now as I felt last year</td>\n",
       "      <td>60.0</td>\n",
       "      <td>11</td>\n",
       "      <td>9</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                MainBranch Hobbyist   Age  \\\n",
       "Respondent                                                  \n",
       "54263       I am a developer by profession      Yes  29.0   \n",
       "5725        I am a developer by profession       No  26.0   \n",
       "43430       I am a developer by profession      Yes  33.0   \n",
       "59279       I am a developer by profession      Yes   NaN   \n",
       "46711       I am a developer by profession      Yes   NaN   \n",
       "1793        I am a developer by profession      Yes  27.0   \n",
       "3072        I am a developer by profession      Yes  32.0   \n",
       "3045        I am a developer by profession      Yes  35.0   \n",
       "1413        I am a developer by profession      Yes  25.0   \n",
       "3261        I am a developer by profession      Yes  34.0   \n",
       "\n",
       "                      Age1stCode CompFreq     CompTotal  ConvertedComp  \\\n",
       "Respondent                                                               \n",
       "54263                         10   Weekly  7.000000e+04      2000000.0   \n",
       "5725                          14  Monthly  1.800000e+05      2000000.0   \n",
       "43430                         17  Monthly  1.710000e+05      2000000.0   \n",
       "59279                         12  Monthly  3.000000e+05      2000000.0   \n",
       "46711       Younger than 5 years   Yearly  1.000000e+56      2000000.0   \n",
       "1793                          16   Weekly  1.200000e+05      2000000.0   \n",
       "3072                          22   Weekly  1.020000e+05      2000000.0   \n",
       "3045                          12   Weekly  1.000000e+05      2000000.0   \n",
       "1413                          12   Weekly  4.100000e+04      2000000.0   \n",
       "3261                          23   Weekly  1.150000e+05      2000000.0   \n",
       "\n",
       "                  Country          CurrencyDesc CurrencySymbol  \\\n",
       "Respondent                                                       \n",
       "54263              Canada  United States dollar            USD   \n",
       "5725               Canada  United States dollar            USD   \n",
       "43430               Italy  United States dollar            USD   \n",
       "59279               Nepal  United States dollar            USD   \n",
       "46711             Nomadic  United States dollar            USD   \n",
       "1793        United States  United States dollar            USD   \n",
       "3072        United States  United States dollar            USD   \n",
       "3045        United States  United States dollar            USD   \n",
       "1413        United States  United States dollar            USD   \n",
       "3261        United States  United States dollar            USD   \n",
       "\n",
       "                                       DatabaseDesireNextYear  \\\n",
       "Respondent                                                      \n",
       "54263                                                   Redis   \n",
       "5725                                                    Redis   \n",
       "43430                                                     NaN   \n",
       "59279       Cassandra;Couchbase;DynamoDB;IBM DB2;MariaDB;M...   \n",
       "46711       Cassandra;Couchbase;DynamoDB;Elasticsearch;Fir...   \n",
       "1793                                 MariaDB;PostgreSQL;Redis   \n",
       "3072                                                  MongoDB   \n",
       "3045                   MongoDB;MySQL;Oracle;PostgreSQL;SQLite   \n",
       "1413                               Microsoft SQL Server;MySQL   \n",
       "3261                                     DynamoDB;MySQL;Redis   \n",
       "\n",
       "                                           DatabaseWorkedWith  \\\n",
       "Respondent                                                      \n",
       "54263                              Firebase;PostgreSQL;SQLite   \n",
       "5725                                                      NaN   \n",
       "43430                                                     NaN   \n",
       "59279       Elasticsearch;Firebase;Microsoft SQL Server;My...   \n",
       "46711       Cassandra;Couchbase;DynamoDB;Elasticsearch;Fir...   \n",
       "1793                              Elasticsearch;Oracle;SQLite   \n",
       "3072                               Microsoft SQL Server;Redis   \n",
       "3045        DynamoDB;MariaDB;Microsoft SQL Server;MongoDB;...   \n",
       "1413                               Microsoft SQL Server;MySQL   \n",
       "3261                                         DynamoDB;MongoDB   \n",
       "\n",
       "                                                      DevType  \\\n",
       "Respondent                                                      \n",
       "54263                                       Developer, mobile   \n",
       "5725                    Developer, back-end;DevOps specialist   \n",
       "43430       Academic researcher;Developer, back-end;Develo...   \n",
       "59279       Data or business analyst;Data scientist or mac...   \n",
       "46711       Academic researcher;Data or business analyst;D...   \n",
       "1793                                      Developer, back-end   \n",
       "3072        Data scientist or machine learning specialist;...   \n",
       "3045        Developer, back-end;Developer, desktop or ente...   \n",
       "1413        Database administrator;Designer;Developer, bac...   \n",
       "3261        Data scientist or machine learning specialist;...   \n",
       "\n",
       "                                                      EdLevel  \\\n",
       "Respondent                                                      \n",
       "54263            Bachelor’s degree (B.A., B.S., B.Eng., etc.)   \n",
       "5725             Bachelor’s degree (B.A., B.S., B.Eng., etc.)   \n",
       "43430              Other doctoral degree (Ph.D., Ed.D., etc.)   \n",
       "59279         Master’s degree (M.A., M.S., M.Eng., MBA, etc.)   \n",
       "46711                               Primary/elementary school   \n",
       "1793             Bachelor’s degree (B.A., B.S., B.Eng., etc.)   \n",
       "3072          Master’s degree (M.A., M.S., M.Eng., MBA, etc.)   \n",
       "3045             Bachelor’s degree (B.A., B.S., B.Eng., etc.)   \n",
       "1413        Some college/university study without earning ...   \n",
       "3261             Bachelor’s degree (B.A., B.S., B.Eng., etc.)   \n",
       "\n",
       "                                                   Employment  \\\n",
       "Respondent                                                      \n",
       "54263                                      Employed full-time   \n",
       "5725                                       Employed full-time   \n",
       "43430                                      Employed full-time   \n",
       "59279                                      Employed full-time   \n",
       "46711                                      Employed full-time   \n",
       "1793                                       Employed full-time   \n",
       "3072                                       Employed full-time   \n",
       "3045                                       Employed full-time   \n",
       "1413                                       Employed full-time   \n",
       "3261        Independent contractor, freelancer, or self-em...   \n",
       "\n",
       "                                                    Ethnicity  \\\n",
       "Respondent                                                      \n",
       "54263                                             South Asian   \n",
       "5725                             White or of European descent   \n",
       "43430                            White or of European descent   \n",
       "59279                             South Asian;Southeast Asian   \n",
       "46711                                                     NaN   \n",
       "1793                             White or of European descent   \n",
       "3072                             White or of European descent   \n",
       "3045                             White or of European descent   \n",
       "1413                             White or of European descent   \n",
       "3261        White or of European descent;South Asian;Multi...   \n",
       "\n",
       "                                                       Gender  \\\n",
       "Respondent                                                      \n",
       "54263                                                     Man   \n",
       "5725                                                      Man   \n",
       "43430                                                     Man   \n",
       "59279                                                     NaN   \n",
       "46711                                                     NaN   \n",
       "1793                                                      Man   \n",
       "3072                                                      Man   \n",
       "3045                                                      Man   \n",
       "1413        Non-binary, genderqueer, or gender non-conforming   \n",
       "3261                                                      Man   \n",
       "\n",
       "                                                   JobFactors  \\\n",
       "Respondent                                                      \n",
       "54263       Flex time or a flexible schedule;Languages, fr...   \n",
       "5725        Languages, frameworks, and other technologies ...   \n",
       "43430       Languages, frameworks, and other technologies ...   \n",
       "59279       Flex time or a flexible schedule;Remote work o...   \n",
       "46711       Languages, frameworks, and other technologies ...   \n",
       "1793        Languages, frameworks, and other technologies ...   \n",
       "3072        Flex time or a flexible schedule;Languages, fr...   \n",
       "3045        Office environment or company culture;Opportun...   \n",
       "1413        Flex time or a flexible schedule;How widely us...   \n",
       "3261        Languages, frameworks, and other technologies ...   \n",
       "\n",
       "                           JobSat  \\\n",
       "Respondent                          \n",
       "54263          Slightly satisfied   \n",
       "5725           Slightly satisfied   \n",
       "43430              Very satisfied   \n",
       "59279              Very satisfied   \n",
       "46711              Very satisfied   \n",
       "1793           Slightly satisfied   \n",
       "3072               Very satisfied   \n",
       "3045        Slightly dissatisfied   \n",
       "1413           Slightly satisfied   \n",
       "3261            Very dissatisfied   \n",
       "\n",
       "                                                      JobSeek  \\\n",
       "Respondent                                                      \n",
       "54263       I’m not actively looking, but I am open to new...   \n",
       "5725             I am not interested in new job opportunities   \n",
       "43430            I am not interested in new job opportunities   \n",
       "59279       I’m not actively looking, but I am open to new...   \n",
       "46711       I’m not actively looking, but I am open to new...   \n",
       "1793        I’m not actively looking, but I am open to new...   \n",
       "3072        I’m not actively looking, but I am open to new...   \n",
       "3045                          I am actively looking for a job   \n",
       "1413        I’m not actively looking, but I am open to new...   \n",
       "3261                          I am actively looking for a job   \n",
       "\n",
       "                                       LanguageDesireNextYear  \\\n",
       "Respondent                                                      \n",
       "54263                                         Go;Haskell;Rust   \n",
       "5725                                Go;Python;Ruby;TypeScript   \n",
       "43430        Assembly;Bash/Shell/PowerShell;C;C++;Perl;Python   \n",
       "59279       Dart;Go;Haskell;Julia;Kotlin;Perl;PHP;R;Ruby;R...   \n",
       "46711       Assembly;Bash/Shell/PowerShell;C;C#;C++;Dart;G...   \n",
       "1793                                             Dart;Go;Ruby   \n",
       "3072                                           C#;Python;Rust   \n",
       "3045        Bash/Shell/PowerShell;C#;C++;Go;HTML/CSS;Java;...   \n",
       "1413        Bash/Shell/PowerShell;HTML/CSS;JavaScript;Perl...   \n",
       "3261                          HTML/CSS;Java;JavaScript;Python   \n",
       "\n",
       "                                           LanguageWorkedWith  \\\n",
       "Respondent                                                      \n",
       "54263           Dart;Java;JavaScript;Kotlin;Python;TypeScript   \n",
       "5725                  Bash/Shell/PowerShell;JavaScript;Python   \n",
       "43430        Assembly;Bash/Shell/PowerShell;C;C++;Perl;Python   \n",
       "59279       Assembly;Bash/Shell/PowerShell;C;C#;C++;HTML/C...   \n",
       "46711       Assembly;Bash/Shell/PowerShell;C;C#;C++;Dart;G...   \n",
       "1793        Bash/Shell/PowerShell;C++;HTML/CSS;Python;Rust...   \n",
       "3072                                                C#;Python   \n",
       "3045        Bash/Shell/PowerShell;C;C#;C++;Go;HTML/CSS;Jav...   \n",
       "1413        Bash/Shell/PowerShell;HTML/CSS;JavaScript;Perl...   \n",
       "3261                          HTML/CSS;Java;JavaScript;Python   \n",
       "\n",
       "                                       MiscTechDesireNextYear  \\\n",
       "Respondent                                                      \n",
       "54263                   React Native;TensorFlow;Torch/PyTorch   \n",
       "5725                                                 Teraform   \n",
       "43430                                                     NaN   \n",
       "59279       Ansible;Apache Spark;Flutter;Hadoop;Keras;Pand...   \n",
       "46711       .NET;.NET Core;Ansible;Apache Spark;Chef;Cordo...   \n",
       "1793                                                      NaN   \n",
       "3072        .NET Core;Cordova;Pandas;TensorFlow;Torch/PyTorch   \n",
       "3045        .NET;.NET Core;Apache Spark;Hadoop;Unity 3D;Un...   \n",
       "1413                                                      NaN   \n",
       "3261                                                      NaN   \n",
       "\n",
       "                                           MiscTechWorkedWith  \\\n",
       "Respondent                                                      \n",
       "54263                                         Flutter;Node.js   \n",
       "5725                                                      NaN   \n",
       "43430                                                     NaN   \n",
       "59279       .NET;.NET Core;Chef;Cordova;Node.js;React Nati...   \n",
       "46711       .NET;.NET Core;Ansible;Apache Spark;Chef;Cordo...   \n",
       "1793                                                  Ansible   \n",
       "3072                                         .NET Core;Pandas   \n",
       "3045        .NET;.NET Core;Apache Spark;Hadoop;Node.js;Uni...   \n",
       "1413                                                      NaN   \n",
       "3261                                                      NaN   \n",
       "\n",
       "                                 NEWCollabToolsDesireNextYear  \\\n",
       "Respondent                                                      \n",
       "54263                                      Facebook Workplace   \n",
       "5725             Github;Gitlab;Google Suite (Docs, Meet, etc)   \n",
       "43430       Confluence;Jira;Github;Gitlab;Slack;Google Sui...   \n",
       "59279                                           Gitlab;Trello   \n",
       "46711       Confluence;Jira;Github;Gitlab;Facebook Workpla...   \n",
       "1793                                                      NaN   \n",
       "3072        Confluence;Gitlab;Microsoft Teams;Microsoft Az...   \n",
       "3045        Github;Microsoft Teams;Microsoft Azure;Google ...   \n",
       "1413                                              Jira;Github   \n",
       "3261        Confluence;Jira;Github;Slack;Google Suite (Doc...   \n",
       "\n",
       "                                     NEWCollabToolsWorkedWith NEWDevOps  \\\n",
       "Respondent                                                                \n",
       "54263       Confluence;Jira;Github;Gitlab;Slack;Microsoft ...       Yes   \n",
       "5725                    Github;Google Suite (Docs, Meet, etc)       Yes   \n",
       "43430       Confluence;Jira;Github;Gitlab;Slack;Google Sui...       Yes   \n",
       "59279       Confluence;Jira;Github;Facebook Workplace;Slac...       Yes   \n",
       "46711       Confluence;Jira;Github;Gitlab;Facebook Workpla...       Yes   \n",
       "1793                   Confluence;Jira;Github;Microsoft Teams       Yes   \n",
       "3072                        Confluence;Gitlab;Microsoft Azure       Yes   \n",
       "3045        Github;Slack;Microsoft Teams;Microsoft Azure;G...        No   \n",
       "1413                                                   Github        No   \n",
       "3261        Confluence;Jira;Github;Slack;Google Suite (Doc...       Yes   \n",
       "\n",
       "                  NEWDevOpsImpt                           NEWEdImpt  \\\n",
       "Respondent                                                            \n",
       "54263       Extremely important                  Somewhat important   \n",
       "5725        Extremely important                      Very important   \n",
       "43430        Somewhat important                    Fairly important   \n",
       "59279       Extremely important                                 NaN   \n",
       "46711       Extremely important  Not at all important/not necessary   \n",
       "1793                    Neutral                      Very important   \n",
       "3072        Extremely important                      Very important   \n",
       "3045         Not very important                      Very important   \n",
       "1413                    Neutral                    Fairly important   \n",
       "3261        Extremely important                Critically important   \n",
       "\n",
       "                                                   NEWJobHunt  \\\n",
       "Respondent                                                      \n",
       "54263       Just because;Curious about other opportunities...   \n",
       "5725        Trouble with my teammates;Better work/life bal...   \n",
       "43430       Curious about other opportunities;Better compe...   \n",
       "59279       Having a bad day (or week or month) at work;Tr...   \n",
       "46711       Just because;Having a bad day (or week or mont...   \n",
       "1793        Just because;Having a bad day (or week or mont...   \n",
       "3072        Curious about other opportunities;Growth or le...   \n",
       "3045        Having a bad day (or week or month) at work;Wa...   \n",
       "1413        Curious about other opportunities;Better compe...   \n",
       "3261        Having a bad day (or week or month) at work;Cu...   \n",
       "\n",
       "                                           NEWJobHuntResearch  \\\n",
       "Respondent                                                      \n",
       "54263       Read company media, such as employee blogs or ...   \n",
       "5725        Read company media, such as employee blogs or ...   \n",
       "43430       Read company media, such as employee blogs or ...   \n",
       "59279       Read company media, such as employee blogs or ...   \n",
       "46711       Read company media, such as employee blogs or ...   \n",
       "1793        Read company media, such as employee blogs or ...   \n",
       "3072        Read company media, such as employee blogs or ...   \n",
       "3045        Company reviews from third party sites (e.g. G...   \n",
       "1413        Read company media, such as employee blogs or ...   \n",
       "3261        Read company media, such as employee blogs or ...   \n",
       "\n",
       "                        NEWLearn NEWOffTopic NEWOnboardGood NEWOtherComms  \\\n",
       "Respondent                                                                  \n",
       "54263           Every few months    Not sure            Yes           Yes   \n",
       "5725                 Once a year          No            Yes            No   \n",
       "43430       Once every few years    Not sure            Yes            No   \n",
       "59279                        NaN         Yes            Yes            No   \n",
       "46711           Every few months         NaN            Yes           NaN   \n",
       "1793                 Once a year          No            Yes            No   \n",
       "3072                 Once a year          No             No            No   \n",
       "3045            Every few months          No             No            No   \n",
       "1413                         NaN         Yes            Yes            No   \n",
       "3261        Once every few years          No             No            No   \n",
       "\n",
       "                                                  NEWOvertime  \\\n",
       "Respondent                                                      \n",
       "54263                       Rarely: 1-2 days per year or less   \n",
       "5725                         Often: 1-2 days per week or more   \n",
       "43430                        Often: 1-2 days per week or more   \n",
       "59279       Sometimes: 1-2 days per month but less than we...   \n",
       "46711                        Often: 1-2 days per week or more   \n",
       "1793                        Rarely: 1-2 days per year or less   \n",
       "3072        Sometimes: 1-2 days per month but less than we...   \n",
       "3045        Sometimes: 1-2 days per month but less than we...   \n",
       "1413        Occasionally: 1-2 days per quarter but less th...   \n",
       "3261                         Often: 1-2 days per week or more   \n",
       "\n",
       "                                          NEWPurchaseResearch  \\\n",
       "Respondent                                                      \n",
       "54263       Start a free trial;Ask developers I know/work ...   \n",
       "5725                                                      NaN   \n",
       "43430                                      Start a free trial   \n",
       "59279       Start a free trial;Ask developers I know/work ...   \n",
       "46711                                                     NaN   \n",
       "1793                                                      NaN   \n",
       "3072        Start a free trial;Ask developers I know/work ...   \n",
       "3045                                                      NaN   \n",
       "1413        Start a free trial;Ask developers I know/work ...   \n",
       "3261          Visit developer communities like Stack Overflow   \n",
       "\n",
       "                NEWPurpleLink  \\\n",
       "Respondent                      \n",
       "54263       Hello, old friend   \n",
       "5725        Hello, old friend   \n",
       "43430             Indifferent   \n",
       "59279                  Amused   \n",
       "46711       Hello, old friend   \n",
       "1793        Hello, old friend   \n",
       "3072        Hello, old friend   \n",
       "3045                   Amused   \n",
       "1413        Hello, old friend   \n",
       "3261        Hello, old friend   \n",
       "\n",
       "                                                   NEWSOSites  \\\n",
       "Respondent                                                      \n",
       "54263       Stack Overflow (public Q&A for anyone who code...   \n",
       "5725        Stack Overflow (public Q&A for anyone who code...   \n",
       "43430        Stack Overflow (public Q&A for anyone who codes)   \n",
       "59279       Stack Overflow (public Q&A for anyone who code...   \n",
       "46711       Stack Overflow (public Q&A for anyone who code...   \n",
       "1793        Stack Overflow (public Q&A for anyone who code...   \n",
       "3072        Stack Overflow (public Q&A for anyone who code...   \n",
       "3045        Stack Overflow (public Q&A for anyone who code...   \n",
       "1413        Stack Overflow (public Q&A for anyone who code...   \n",
       "3261        Stack Overflow (public Q&A for anyone who code...   \n",
       "\n",
       "                                                     NEWStuck        OpSys  \\\n",
       "Respondent                                                                   \n",
       "54263       Meditate;Visit Stack Overflow;Go for a walk or...        MacOS   \n",
       "5725        Call a coworker or friend;Go for a walk or oth...  Linux-based   \n",
       "43430       Call a coworker or friend;Go for a walk or oth...  Linux-based   \n",
       "59279       Call a coworker or friend;Visit Stack Overflow...      Windows   \n",
       "46711       Meditate;Play games;Call a coworker or friend;...          NaN   \n",
       "1793        Call a coworker or friend;Visit Stack Overflow...  Linux-based   \n",
       "3072        Meditate;Play games;Call a coworker or friend;...      Windows   \n",
       "3045        Play games;Visit Stack Overflow;Go for a walk ...      Windows   \n",
       "1413        Play games;Call a coworker or friend;Visit Sta...      Windows   \n",
       "3261        Play games;Call a coworker or friend;Visit Sta...        MacOS   \n",
       "\n",
       "                             OrgSize  \\\n",
       "Respondent                             \n",
       "54263                            NaN   \n",
       "5725        10,000 or more employees   \n",
       "43430       10,000 or more employees   \n",
       "59279       1,000 to 4,999 employees   \n",
       "46711       10,000 or more employees   \n",
       "1793        1,000 to 4,999 employees   \n",
       "3072        10,000 or more employees   \n",
       "3045            100 to 499 employees   \n",
       "1413            500 to 999 employees   \n",
       "3261            100 to 499 employees   \n",
       "\n",
       "                                       PlatformDesireNextYear  \\\n",
       "Respondent                                                      \n",
       "54263                            Docker;Heroku;iOS;Kubernetes   \n",
       "5725                             Docker;Google Cloud Platform   \n",
       "43430                             Android;Linux;MacOS;Windows   \n",
       "59279       Arduino;Heroku;IBM Cloud or Watson;Kubernetes;...   \n",
       "46711       Android;Arduino;AWS;Docker;Google Cloud Platfo...   \n",
       "1793                                          Android;Arduino   \n",
       "3072                                     Docker;Linux;Windows   \n",
       "3045        Android;AWS;iOS;Kubernetes;Linux;MacOS;Microso...   \n",
       "1413                               Linux;Raspberry Pi;Windows   \n",
       "3261                                           AWS;Kubernetes   \n",
       "\n",
       "                                           PlatformWorkedWith  \\\n",
       "Respondent                                                      \n",
       "54263                                       Android;AWS;Linux   \n",
       "5725                             Docker;Google Cloud Platform   \n",
       "43430                             Android;Linux;MacOS;Windows   \n",
       "59279       Android;AWS;Docker;Google Cloud Platform;iOS;L...   \n",
       "46711       Android;Arduino;AWS;Docker;Google Cloud Platfo...   \n",
       "1793                                Docker;Linux;Raspberry Pi   \n",
       "3072                                     Docker;Linux;Windows   \n",
       "3045          Android;AWS;Linux;MacOS;Microsoft Azure;Windows   \n",
       "1413                     Linux;Raspberry Pi;Windows;WordPress   \n",
       "3261                                                      AWS   \n",
       "\n",
       "                                PurchaseWhat                Sexuality  \\\n",
       "Respondent                                                              \n",
       "54263                  I have some influence  Straight / Heterosexual   \n",
       "5725           I have little or no influence  Straight / Heterosexual   \n",
       "43430                  I have some influence  Straight / Heterosexual   \n",
       "59279       I have a great deal of influence                      NaN   \n",
       "46711          I have little or no influence                      NaN   \n",
       "1793           I have little or no influence  Straight / Heterosexual   \n",
       "3072                   I have some influence  Straight / Heterosexual   \n",
       "3045           I have little or no influence  Straight / Heterosexual   \n",
       "1413                   I have some influence                 Bisexual   \n",
       "3261                                     NaN  Straight / Heterosexual   \n",
       "\n",
       "                          SOAccount           SOComm  \\\n",
       "Respondent                                             \n",
       "54263       Not sure/can't remember    Yes, somewhat   \n",
       "5725                            Yes   No, not at all   \n",
       "43430                           Yes   No, not at all   \n",
       "59279                           Yes    Yes, somewhat   \n",
       "46711                           NaN              NaN   \n",
       "1793                            Yes   No, not really   \n",
       "3072                            Yes  Yes, definitely   \n",
       "3045                            Yes    Yes, somewhat   \n",
       "1413                            Yes   No, not really   \n",
       "3261                            Yes  Yes, definitely   \n",
       "\n",
       "                                                   SOPartFreq  \\\n",
       "Respondent                                                      \n",
       "54263                                                     NaN   \n",
       "5725        I have never participated in Q&A on Stack Over...   \n",
       "43430       I have never participated in Q&A on Stack Over...   \n",
       "59279       I have never participated in Q&A on Stack Over...   \n",
       "46711                                                     NaN   \n",
       "1793        I have never participated in Q&A on Stack Over...   \n",
       "3072                          A few times per month or weekly   \n",
       "3045                      Less than once per month or monthly   \n",
       "1413                      Less than once per month or monthly   \n",
       "3261        I have never participated in Q&A on Stack Over...   \n",
       "\n",
       "                                SOVisitFreq                  SurveyEase  \\\n",
       "Respondent                                                                \n",
       "54263                 Daily or almost daily  Neither easy nor difficult   \n",
       "5725        A few times per month or weekly                        Easy   \n",
       "43430       A few times per month or weekly                        Easy   \n",
       "59279                Multiple times per day  Neither easy nor difficult   \n",
       "46711                Multiple times per day                         NaN   \n",
       "1793                  Daily or almost daily                        Easy   \n",
       "3072        A few times per month or weekly                        Easy   \n",
       "3045        A few times per month or weekly  Neither easy nor difficult   \n",
       "1413                  Daily or almost daily  Neither easy nor difficult   \n",
       "3261                   A few times per week                        Easy   \n",
       "\n",
       "                     SurveyLength Trans  \\\n",
       "Respondent                                \n",
       "54263                    Too long    No   \n",
       "5725                    Too short    No   \n",
       "43430       Appropriate in length    No   \n",
       "59279                    Too long   NaN   \n",
       "46711                         NaN   NaN   \n",
       "1793        Appropriate in length    No   \n",
       "3072        Appropriate in length    No   \n",
       "3045                     Too long    No   \n",
       "1413        Appropriate in length    No   \n",
       "3261        Appropriate in length    No   \n",
       "\n",
       "                                               UndergradMajor  \\\n",
       "Respondent                                                      \n",
       "54263       Computer science, computer engineering, or sof...   \n",
       "5725        Computer science, computer engineering, or sof...   \n",
       "43430       Computer science, computer engineering, or sof...   \n",
       "59279       Computer science, computer engineering, or sof...   \n",
       "46711                                                     NaN   \n",
       "1793        Computer science, computer engineering, or sof...   \n",
       "3072        Computer science, computer engineering, or sof...   \n",
       "3045        Computer science, computer engineering, or sof...   \n",
       "1413        Computer science, computer engineering, or sof...   \n",
       "3261        Computer science, computer engineering, or sof...   \n",
       "\n",
       "                                       WebframeDesireNextYear  \\\n",
       "Respondent                                                      \n",
       "54263                                         React.js;Vue.js   \n",
       "5725                                                   Gatsby   \n",
       "43430                                                     NaN   \n",
       "59279                      Django;Drupal;Flask;Gatsby;Laravel   \n",
       "46711       Angular;Angular.js;ASP.NET;ASP.NET Core;Django...   \n",
       "1793                                                      NaN   \n",
       "3072                                       ASP.NET Core;Flask   \n",
       "3045        Angular;Angular.js;ASP.NET;ASP.NET Core;Django...   \n",
       "1413                                           jQuery;Laravel   \n",
       "3261                                     Django;jQuery;Spring   \n",
       "\n",
       "                                           WebframeWorkedWith  \\\n",
       "Respondent                                                      \n",
       "54263                                    Express;Flask;jQuery   \n",
       "5725                                                   Spring   \n",
       "43430                                                     NaN   \n",
       "59279       Angular;Angular.js;ASP.NET;ASP.NET Core;Expres...   \n",
       "46711       Angular;Angular.js;ASP.NET;ASP.NET Core;Django...   \n",
       "1793                                                      NaN   \n",
       "3072                                             ASP.NET Core   \n",
       "3045        Angular;Angular.js;ASP.NET;ASP.NET Core;Django...   \n",
       "1413                                                   jQuery   \n",
       "3261                                                   Spring   \n",
       "\n",
       "                                                WelcomeChange  WorkWeekHrs  \\\n",
       "Respondent                                                                   \n",
       "54263                 Just as welcome now as I felt last year         36.0   \n",
       "5725        Not applicable - I did not use Stack Overflow ...         40.0   \n",
       "43430                 Just as welcome now as I felt last year         40.0   \n",
       "59279                   A lot more welcome now than last year         40.0   \n",
       "46711                                                     NaN        168.0   \n",
       "1793                  Just as welcome now as I felt last year         40.0   \n",
       "3072                 Somewhat less welcome now than last year         40.0   \n",
       "3045                  Just as welcome now as I felt last year         42.0   \n",
       "1413                  Just as welcome now as I felt last year         37.0   \n",
       "3261                  Just as welcome now as I felt last year         60.0   \n",
       "\n",
       "                     YearsCode        YearsCodePro  \n",
       "Respondent                                          \n",
       "54263                       14                   5  \n",
       "5725                        10                   4  \n",
       "43430                       13                   2  \n",
       "59279                       20                  14  \n",
       "46711       More than 50 years  More than 50 years  \n",
       "1793                        12                 NaN  \n",
       "3072                        10                   7  \n",
       "3045                        23                   5  \n",
       "1413                        13                   3  \n",
       "3261                        11                   9  "
      ]
     },
     "execution_count": 37,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.nlargest(10, \"ConvertedComp\") # display largest salaries with all columns "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 38,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Country</th>\n",
       "      <th>ConvertedComp</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Respondent</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>35295</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>47357</th>\n",
       "      <td>Albania</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27135</th>\n",
       "      <td>Australia</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6054</th>\n",
       "      <td>Australia</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>60292</th>\n",
       "      <td>Austria</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>38813</th>\n",
       "      <td>Azerbaijan</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8470</th>\n",
       "      <td>Bangladesh</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>41006</th>\n",
       "      <td>Belgium</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15493</th>\n",
       "      <td>Brazil</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>57369</th>\n",
       "      <td>Brazil</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                Country  ConvertedComp\n",
       "Respondent                            \n",
       "35295       Afghanistan            0.0\n",
       "47357           Albania            0.0\n",
       "27135         Australia            0.0\n",
       "6054          Australia            0.0\n",
       "60292           Austria            0.0\n",
       "38813        Azerbaijan            0.0\n",
       "8470         Bangladesh            0.0\n",
       "41006           Belgium            0.0\n",
       "15493            Brazil            0.0\n",
       "57369            Brazil            0.0"
      ]
     },
     "execution_count": 38,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df[[\"Country\", \"ConvertedComp\"]].nsmallest(10, \"ConvertedComp\") # display smallest salaries with other columns "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.3rc1"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
